Skip to content
Access control Advisory Advanced CVE-2026-10937

Inappropriate implementation in Passwords (CVE-2026-10937)

The Automated Password Change flow sends click and typing actions to the primary main frame using process-local DOM node identifiers, even when the target element belongs to a different frame. A malicious cross-origin iframe could spoof an identifier to trigger clicks on sensitive elements in the embedding page, or a malicious parent page could steal credentials intended for a secure iframe.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 50 days

Flapjack, 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 Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The Automated Password Change (APC) flow incorrectly directs DOM-based actions like clicking and typing to the primary main frame, even when the intended target element belongs to a different frame. This allows a malicious cross-origin iframe to trigger actions on sensitive elements in the embedding page by spoofing DOM identifiers, or a malicious parent to steal credentials destined for a secure iframe.

Affected files:

  • chrome/browser/password_manager/password_change/button_click_helper.cc
  • chrome/browser/password_manager/password_change/typing_helper.cc
  • chrome/browser/password_manager/password_change/form_filling_helper.cc

Estimated timestamp from git blame: 2025-11-26

Summary

A potential vulnerability in the Automated Password Change (APC) flow allows a malicious cross-origin iframe to perform unauthorized actions (clicks or text entry) on the embedding page, or a malicious parent page to steal credentials intended for a secure iframe.

This occurs because ButtonClickHelper and TypingHelper unconditionally target the primary main frame when sending InvokeTool IPCs, while relying on DOMNodeId values that are process-local and can be easily collided by an attacker in a different renderer process.

Vulnerability Details

  1. Process-Local Identifiers: In Chromium's multi-process architecture (Site Isolation), a DOMNodeId is only unique within its own renderer process. They are generated using a static counter last_id (third_party/blink/renderer/core/dom/dom_node_ids.cc). Different processes (e.g., a main frame and a cross-origin iframe) will predictably generate nodes with identical DOMNodeId values.

  2. Cross-Frame Content Collection: The APC flow uses optimization_guide::GetAIPageContent to gather DOM information from all frames on a page. The include_same_site_only flag defaults to false, so the resulting tree includes nodes from the main frame and all cross-origin subframes, each associated with its respective process-local DOMNodeId.

  3. IPC Targeting Flaw: When the ML model identifies a node to interact with, it returns the raw DOMNodeId. Both ButtonClickHelper and TypingHelper are hardcoded to retrieve the ChromeRenderFrame interface from the PrimaryMainFrame and send the action command to it, regardless of which frame the node actually belongs to:

    C++
    // chrome/browser/password_manager/password_change/button_click_helper.cc
    web_contents->GetPrimaryMainFrame()
        ->GetRemoteAssociatedInterfaces()
        ->GetInterface(&chrome_render_frame_);
    chrome_render_frame_->InvokeTool(...)
    
  4. Validation Bypass: Although the renderer includes a ValidateTimeOfUse check, it is currently bypassed. ButtonClickHelper does not provide an observed_target. When observed_target is null, the renderer returns a kOk success result without performing identity verification (chrome/renderer/actor/tool_base.cc:376).

Suggested Exploitation Scenarios

(Note: These are potential steps as we have not executed a working proof of concept.)

Scenario A: Confused Deputy (CSRF)

  1. An attacker-controlled cross-origin iframe is embedded in a target site (e.g., via malicious ad).
  2. The target site has a sensitive button in the main frame (e.g., "Delete Account") with a specific DOMNodeId (e.g., 42).
  3. The attacker's iframe deterministically generates DOM elements to ensure one of its nodes has a DOMNodeId of 42, styling it to look like a password submission button.
  4. The APC ML model selects the attacker's fake button and returns DOMNodeId = 42.
  5. The browser blindly sends a ClickAction for ID 42 to the primary main frame, causing the main frame to click its own sensitive "Delete Account" button.

Scenario B: Credential Theft

  1. A legitimate site hosts its password change form in a secure cross-origin iframe.
  2. An attacker controls the parent page (e.g., a malicious site embedding the secure iframe).
  3. FormFillingHelper::FillField extracts the raw renderer_id from an autofill::FieldGlobalId, discarding the host_frame token.
  4. TypingHelper sends the new password and the DOMNodeId to the primary main frame (the attacker's page) instead of the secure iframe.
  5. The attacker's page intercepts the keystrokes and steals the password.

Suggested Fix

  • Update Protos: Modify the OpenFormResponseData and SubmitFormResponseData protos to include frame identifiers (e.g., a LocalFrameToken or the frame's origin) alongside the DOMNodeId.
  • Target Correct Frames: Modify ButtonClickHelper and TypingHelper to accept a specific RenderFrameHost or frame token, and route the InvokeTool IPC to that specific frame rather than hardcoding the PrimaryMainFrame.
  • Preserve Frame Tokens: Ensure FormFillingHelper retains and utilizes the host_frame token from autofill::FieldGlobalId when delegating tasks to TypingHelper.

Evaluated with Chrome root at commit: c0eb5541aebfa4ea08806eaf6e94bcc69f87ab2f


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

Likely the helpers hardcode the primary main frame as the IPC target and rely on process-local DOMNodeId values that can collide across renderer processes, with no frame identity check.

Impact

A malicious cross-origin iframe could trigger clicks on sensitive elements in the embedding page, or a malicious parent page could steal credentials intended for a secure iframe; the report notes no working proof of concept was executed.

What the attacker needed

Victim visits attacker-controlled page; attacker can embed cross-origin iframe; APC flow is triggered

The fix

The helpers should be changed to route actions to the correct frame using frame identifiers, and FormFillingHelper should preserve the host_frame token.

How it was found

  1. An attacker embeds a cross-origin iframe in a target site that has a sensitive button in the main frame.
  2. The attacker's iframe generates DOM elements so that one of its nodes has the same DOMNodeId as the sensitive button.
  3. The APC model selects the attacker's fake button and returns that DOMNodeId.
  4. The browser sends a ClickAction for that ID to the primary main frame, which clicks its own sensitive button.

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 a browser shows a password change form, it sometimes uses a helper to click buttons or type text for you. This report says that helper always sends those actions to the main page, even if the button or field is actually inside a smaller embedded page (an iframe). Because the helper uses a simple number to identify elements, and that number can be the same in different pages, an attacker could trick the helper into clicking or typing in the wrong place.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.