Skip to content
Info disclosure Advisory Advanced CVE-2026-11084

Inappropriate implementation in Password Manager (CVE-2026-11084)

The password manager's automated password change flow used a form identifier that is not unique across frames, so an attacker's cross-origin iframe could create many hidden forms with predictable identifiers and cause a collision. This could make the browser fill the user's plaintext password into the attacker's hidden form, where attacker JavaScript could read it.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 58 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 without the security team.

Overview: The ChangePasswordFormWaiter incorrectly looks up forms using a FieldRendererId, which is not globally unique across frames. An attacker in a cross-origin iframe can spray predictable IDs to cause a collision, causing the user's plaintext password to be filled into the attacker's iframe during an Automated Password Change flow.

Affected files:

  • chrome/browser/password_manager/password_change/change_password_form_waiter.cc
  • chrome/browser/password_manager/password_change_delegate_impl.cc
  • chrome/browser/password_manager/password_change/password_change_from_checkup_delegate.cc
  • chrome/browser/password_manager/password_change/change_password_form_filling_submission_helper.cc

Estimated timestamp from git blame: 2025-10-14

Description

A potential security vulnerability exists in the Automated Password Change flow due to a cross-frame confusion issue. The class ChangePasswordFormWaiter relies on autofill::FieldRendererId to uniquely identify a PasswordFormManager across an entire tab. However, FieldRendererId (which wraps a Blink DOMNodeId) is generated using a per-renderer-process counter that starts at 1. It is not globally unique across different frames, especially cross-origin iframes isolated via Site Isolation.

In chrome/browser/password_manager/password_change/change_password_form_waiter.cc, the static function GetCorrespondingFormManager searches the PasswordFormCache (which stores form managers for the entire WebContents) using only the FieldRendererId. It returns the first matching manager it finds:

C++
for (const auto& manager : cache->GetFormManagers()) {
  if (manager->GetParsedObservedForm() &&
      manager->GetParsedObservedForm()->new_password_element_renderer_id ==
          new_password_element_id) {
    return manager.get();
  }
}

Because the lookup returns the first match and ignores the frame/driver, an attacker can exploit this by ensuring a malicious form manager is placed earlier in the cache with a colliding ID.

Potential Exploitation Steps

  1. Setup: A user initiates an Automated Password Change flow on a legitimate site (e.g., victim.example/change-password).
  2. Attacker Iframe: The legitimate site embeds a cross-origin attacker-controlled iframe (e.g., via a compromised ad or widget).
  3. ID Spraying: The attacker's iframe dynamically creates a large number (e.g., 100) of hidden forms containing <input autocomplete="current-password"> and <input autocomplete="new-password"> elements. Because the attacker's renderer process has its own counter starting at 1, these new-password elements receive FieldRendererIds from 1 to 100.
  4. Cache Population: These forms are parsed and their PasswordFormManagers are added to the browser's per-WebContents PasswordFormCache.
  5. Legitimate Form: The legitimate main frame's form is parsed. It receives an ID from its own process's counter (e.g., 42). It is added to the end of the cache.
  6. Visibility Check Race: ChangePasswordFormWaiter initiates visibility checks for all forms in the cache. The attacker's 100 hidden forms fail the visibility check and their callbacks return early.
  7. Legitimate Form Visible: The legitimate form passes the visibility check. OnCheckViewAreaVisibleCallback is invoked with ID 42.
  8. Vulnerable Lookup: The callback calls GetCorrespondingFormManager(42). The function scans the cache and returns the attacker's form manager (which was added earlier and also has ID 42), ignoring the legitimate form at the end of the list.
  9. Password Leak: The flow proceeds to ChangePasswordFormFillingSubmissionHelper::FillChangePasswordForm without validating the origin. It triggers an IPC that sends the user's current, plaintext password (and a newly generated password) directly to the attacker's renderer process to be autofilled into the hidden form.
  10. Theft: The attacker's JavaScript reads the values from the hidden form, stealing the credentials.

(Note: These are suggested steps based on static analysis; our tooling has not run a live proof of concept.)

Suggested Fix

Do not rely solely on FieldRendererId for lookups across a WebContents. Security logic should use FieldGlobalId (which combines the FieldRendererId with a LocalFrameToken), as explicitly warned in components/autofill/core/common/unique_ids.h.

Alternatively, GetCorrespondingFormManager should be updated to accept and require the expected PasswordManagerDriver (or its associated LocalFrameToken), and the loop should verify that manager->GetDriver() == expected_driver alongside the renderer ID.

Evaluated with Chrome root at commit: f200f57a19490707ff8bc7aa5de3cbc443a3afad


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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

The code looked up a form manager using only a FieldRendererId, which is not globally unique across frames, instead of a globally unique identifier that includes the frame token.

Impact

The attacker's JavaScript could read the user's current plaintext password and a newly generated password from the hidden form, leading to credential theft; the report notes these steps are based on static analysis and no live proof of concept was run.

What the attacker needed

User starts automated password change; legitimate site embeds attacker iframe; attacker controls iframe content

The fix

The lookup should use a globally unique identifier that includes the frame token, or require and verify the expected driver or frame token alongside the renderer ID.

How it was found

  1. A user starts an automated password change on a legitimate site.
  2. The legitimate site embeds a cross-origin attacker-controlled iframe.
  3. The attacker's iframe creates many hidden forms with password fields, giving them predictable identifiers.
  4. These forms are added to the browser's per-tab form cache.
  5. The legitimate form is parsed and added later with an identifier that collides with one of the attacker's forms.
  6. The visibility check passes for the legitimate form, but the lookup returns the attacker's form manager with the same identifier, and the password is filled into the attacker's hidden form.

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.

When you change a password, the browser tries to find the right form on the page to fill in. The browser used a simple number to identify each form, but that number is only unique inside one frame, not across the whole page. An attacker could put a hidden form in an iframe with the same number, so the browser might fill your password into the attacker's form instead.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.