Insufficient validation of untrusted input in Actor (CVE-2026-17700)
A coordinate-based autofill resolution function trusted page content supplied by a renderer without checking which frame actually owns the widget at those coordinates. A compromised renderer hosting a cross-origin iframe could spoof popup bounds overlapping main-frame form fields, so an approved autofill could be routed to the attacker's frame and exfiltrated.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
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: A potential vulnerability in GetFieldIdFromPageTarget allows a compromised renderer hosting an out-of-process iframe to spoof popup window coordinates and hijack coordinate-targeted autofill actions. Because the resolution logic lacks compositor-trusted hit-test cross-checks, coordinates targeting main-frame input fields can resolve to attacker-controlled fields. This could lead to the unauthorized exfiltration of sensitive autofill data to a cross-origin frame after user approval.
Affected files:
chrome/browser/actor/tools/page_target_util.ccchrome/browser/actor/tools/attempt_form_filling_tool.ccchrome/browser/actor/tools/attempt_otp_filling_tool.cc
Estimated timestamp from git blame: 2025-11-07
Root Cause Analysis
The function GetFieldIdFromPageTarget (defined in chrome/browser/actor/tools/page_target_util.cc at line 136) is used to resolve a coordinate or DomNode target into an autofill FieldGlobalId. For coordinate-based (gfx::Point) targets, it uses FindLastObservedNodeForActionTargetPoint (line 109) to query the last observed AnnotatedPageContent (APC) using optimization_guide::FindNodeAtPoint().
In components/optimization_guide/content/browser/page_content_proto_util.cc (at line 1666), FindNodeAtPoint prioritizes searching the popup_window if one exists:
if (base::FeatureList::IsEnabled(blink::features::kAIPageContentIncludePopupWindows) &&
annotated_page_content.has_popup_window()) {
std::optional<optimization_guide::TargetNodeInfo> target_node =
FindNodeAtPointRecursive(
annotated_page_content.popup_window().opener_document_id(),
&annotated_page_content.popup_window().root_node(), coordinate,
std::nullopt);
if (target_node.has_value()) {
return target_node;
}
}
During page content extraction, the browser-side verification in GetRenderFrameInfo checks web_contents->GetPopupWidgets() to set render_frame_info.has_active_popup = true (components/optimization_guide/content/browser/page_content_proto_provider.cc:341). A compromised subframe renderer can satisfy this requirement by triggering a legitimate popup widget (such as a dropdown menu) from its own process. Once verified, the compromised renderer can respond to GetAIPageContent with spoofed popup layout bounds that overlap sensitive form inputs in the main frame.
When a coordinate-targeted action (such as AttemptFormFillingTool or AttemptOtpFillingTool) is validated via TimeOfUseValidation, GetFieldIdFromPageTarget resolves the coordinate. Since the spoofed popup bounds overlap the targeted coordinates, the hit test resolves to the attacker's frame token and node ID.
Unlike standard PageTool actions, which perform compositor-trusted verification via ValidateTargetFrameCandidate (comparing the target's coordinates using WebContents::FindWidgetAtPoint), GetFieldIdFromPageTarget has no hit-test verification to ensure that the target frame actually owns the widget at those coordinates. It blindly trusts the document identifier resolved from the page content data.
Potential Attack Scenario
Because our automated analysis is based on static analysis, these are potential steps that an attacker might follow to trigger the vulnerability:
- Setup: An attacker compromises a sandboxed renderer process hosting a cross-origin iframe (e.g.,
https://attacker.example) embedded within a trusted page (e.g.,https://victim.example). - Popup State Validation Bypass: The compromised iframe opens a legitimate dropdown or popup element to ensure
has_active_popupevaluates totruefor its process on the browser side. - Content Spoofing: When the browser requests page content (
GetAIPageContent), the compromised iframe responds with fake popup geometry bounds that overlap sensitive inputs (such as address or OTP fields) in the top-level main frame. - Action Invocation: A coordinate-targeted autofill action targeting the main frame input is triggered by the user via the Glic/Actor assistant interface.
- Validation Bypass:
GetFieldIdFromPageTargetresolves the target coordinates to the attacker's frame token because the coordinate matches the spoofed popup bounds. Due to the lack of compositor-trusted verification, the resolution succeeds. - UI Deception: In
ActorFormFillingServiceImpl::GetSuggestions, the request's origin shown in the user's Glic consent dialog is hardcoded to the primary main frame's origin (tab.GetContents()->GetPrimaryMainFrame()->GetLastCommittedOrigin()). Consequently, the user is prompted to authorize the fill into the trustedvictim.exampledomain. - Data Leakage: Upon user approval, the autofill driver routes the sensitive values to the attacker's frame since the resolved
FieldGlobalIdcontains the attacker's frame token. The compromised iframe can then read and exfiltrate the populated values.
Suggested Fix
Introduce compositor hit-test validation inside GetFieldIdFromPageTarget (defined in chrome/browser/actor/tools/page_target_util.cc). Before returning the resolved FieldGlobalId, the function should perform a validation similar to ValidateTargetFrameCandidate to check that the candidate frame's underlying widget matches the widget returned by WebContents::FindWidgetAtPoint at the targeted coordinate.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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.
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 coordinate resolution in GetFieldIdFromPageTarget trusts renderer-supplied page content and popup geometry without a compositor-trusted hit-test cross-check, unlike standard page tools.
Impact
Sensitive autofill data such as addresses or one-time codes could be sent to a cross-origin attacker frame after the user approves a fill that the consent dialog attributes to the trusted main-frame origin.
What the attacker needed
Compromised renderer process; cross-origin iframe on a trusted page; user triggers a coordinate autofill; user approves the fill
The fix
Compositor hit-test validation should be added inside GetFieldIdFromPageTarget so the resolved frame's widget matches the widget found at the target coordinate.
How it was found
- Compromise a sandboxed renderer hosting a cross-origin iframe inside a trusted page.
- Open a legitimate popup or dropdown from that iframe so the browser marks an active popup for the process.
- Respond to the page content request with fake popup bounds overlapping sensitive main-frame inputs.
- Have the user trigger a coordinate-targeted autofill action via the assistant interface.
- The coordinate resolves to the attacker's frame because it matches the spoofed bounds.
- After the user approves the fill, the values are routed to the attacker's frame and exfiltrated.
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.
A web page is split into frames, and each frame can come from a different website. Normally the browser checks with the part of the browser that draws the page (the compositor) to confirm which frame is really under a given screen position. Here that check was missing, so a malicious frame could claim a form field belonged to it and receive data the user meant to type into the real site.
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.