Skip to content
AI / LLM Advisory Advanced CVE-2026-13960

Inappropriate implementation in Passwords (CVE-2026-13960)

The Automated Password Change verification step captured page content from cross-site iframes instead of only same-site frames, so an embedded third-party frame could feed text to the AI model that decides whether a password change succeeded. An attacker controlling such a frame could make the browser believe a failed change worked, overwriting the stored credential and showing a false success message.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 46 days

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The Automated Password Change (APC) verification step fails to restrict page content capture to same-site frames. This potentially allows cross-site iframes to inject content into the data sent to the AI verification model, leading to incorrect password store updates.

Affected files:

  • chrome/browser/password_manager/password_change/password_change_submission_verifier.cc
  • chrome/browser/password_manager/password_change_delegate_impl.cc

Estimated timestamp from git blame: 2025-05-14

Description

In Chrome's Automated Password Change (APC) flow, the browser uses an AI model to verify whether a password change attempt on a website was successful. This verification occurs in the PasswordChangeSubmissionVerifier component, which captures page content and sends it to an Optimization Guide model for analysis.

A potential logic flaw exists in PasswordChangeSubmissionVerifier::GetAIPageContentOptions where it omits the include_same_site_only = true flag in the blink::mojom::AIPageContentOptions. This flag is correctly set in sibling components of the same flow (ChangePasswordFormFinder and ChangePasswordFormFillingSubmissionHelper), ensuring that cross-site iframe content is redacted from the capture.

Because this flag is missing during the verification step, content from all live cross-site out-of-process iframes (OOPIFs) is included in the DOM proto sent to the model. This could allow a third-party origin (such as an ad network or support widget) embedded on the target site's post-submission page to influence the verification result through a 'prompt-injection' style attack.

Root Cause

The GetAIPageContentOptions() function in chrome/browser/password_manager/password_change/password_change_submission_verifier.cc does not set the include_same_site_only flag:

C++
// chrome/browser/password_manager/password_change/password_change_submission_verifier.cc
blink::mojom::AIPageContentOptionsPtr GetAIPageContentOptions() {
  auto options = optimization_guide::ActionableAIPageContentOptions(
      /*on_critical_path =*/true);
  return options; // include_same_site_only remains false (default)
}

When this flag is false, the browser's content extraction logic in components/optimization_guide/content/browser/page_content_proto_provider.cc bypasses origin-based redaction and collects content from all frames.

Potential Impact

An attacker controlling a cross-site iframe on a legitimate site's settings or password-change confirmation page could render text such as "Your password has been changed successfully." This could trick the AI model into returning a SUCCESSFUL_OUTCOME verdict even if the actual password change failed.

If a successful outcome is incorrectly returned:

  1. Credential Corruption: The browser calls form_manager_->Save(), overwriting the user's stored credential with a new generated password that was never actually accepted by the website.
  2. UI Spoofing: The browser displays a trusted native notification (toast) claiming the password was successfully changed.
  3. Security Exposure: The user's original password remains valid on the site, but the user is misled into believing their account is secured with a new password. The password manager now holds an incorrect credential, potentially locking the user out.

Suggested Reproduction Steps (Potential)

  1. Use a desktop Chrome instance with a saved credential for a site where APC is enabled.
  2. The target site must have a post-change-password page that embeds a cross-site iframe.
  3. Initiate the APC flow for the site.
  4. Ensure the actual password change fails on the server side (e.g., via a simulated network error), but the resulting page still embeds an attacker-controlled iframe.
  5. The attacker-controlled iframe renders text such as "Your password has been changed successfully."
  6. Observe (via internal logs or debugging) that PasswordChangeSubmissionVerifier captures this text and sends it to the AI model.
  7. If the AI model returns SUCCESSFUL_OUTCOME, observe that the browser updates the password store and shows a success notification.

Recommended Fix

Update GetAIPageContentOptions() in chrome/browser/password_manager/password_change/password_change_submission_verifier.cc (and potentially chrome/browser/password_manager/password_change/login_state_checker.cc) to explicitly set options->include_same_site_only = true;. This ensures consistency with other components in the APC flow and prevents cross-origin interference.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the verification component builds its page-content options without setting the same-site-only flag, so origin-based redaction is skipped and all frames are captured.

Impact

A third-party frame could trick the AI verdict, causing the browser to overwrite the stored credential with a password the site never accepted and to show a misleading success notification, while the original password stays valid.

What the attacker needed

Desktop Chrome with APC enabled; saved credential for the target site; target page embeds a cross-site iframe; attacker controls that iframe

The fix

The options builder should explicitly set the same-site-only flag so cross-origin frames are redacted, matching the other components in the flow.

How it was found

  1. Use desktop Chrome with a saved credential for a site where automated password change is enabled.
  2. Pick a target site whose post-change page embeds a cross-site iframe.
  3. Start the automated password change flow.
  4. Make the real change fail on the server while the page still embeds an attacker-controlled iframe.
  5. Have the iframe render text claiming the password was changed successfully.
  6. Observe that the verifier sends this text to the AI model and, if it returns success, the password store is updated and a success notification shown.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Chrome has a feature that changes a saved password for you and then asks an AI model to check the website to see if it worked. The page it checks can contain frames from other websites, and those frames were not filtered out, so someone who controls one could put text on the page saying the change succeeded. Chrome would then save a password the site never accepted and tell the user everything went fine.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.