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

Missing authorization in Autofill (CVE-2026-106225)

A cross-origin iframe could access identity provider suggestions (email and name) from a pending FedCM request initiated by the top-level frame, bypassing permissions policy checks. An attacker could then fill the victim's PII into the iframe and exfiltrate it.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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 without the Chrome Security team.

Overview: When FedCM autofill integration is enabled, a cross-origin iframe can access Identity Provider suggestions (including email and name) from a pending FedCM request initiated by the top-level frame. This bypasses permissions policy checks and fills the PII into the iframe after presenting a confusing modal that attributes the request to the top-level origin.

Affected files:

  • components/autofill/content/browser/suggestions/identity_credential_suggestion_generator.cc
  • components/autofill/content/browser/content_identity_credential_delegate.cc
  • content/browser/webid/request_service.cc
  • components/autofill/core/browser/ui/autofill_external_delegate.cc
  • components/autofill/core/browser/foundations/browser_autofill_manager.cc

Estimated timestamp from git blame: 2025-08-26

Summary

A vulnerability in the FedCM autofill integration allows a cross-origin iframe to obtain a user's private identity information (email, full name) provided by an Identity Provider (IdP). This occurs because pending FedCM requests are stored per-Page but are accessible to any RenderFrameHost within that page via the Autofill subsystem, without verifying the requesting frame's origin or permissions policy. The issue is currently gated behind the experimental kFedCmAutofill or kFedCmDelegation flags.

Technical Details

When a frame initiates a conditional FedCM request, RequestService::RequestToken verifies the identity-credentials-get permissions policy for the initiating frame. The RequestService is then registered as the pending web identity request for the shared Page object via webid::RequestPageData.

When a user interacts with a form field marked with autocomplete="webidentity" in any frame (including a cross-origin iframe), the BrowserAutofillManager requests verified suggestions from ContentIdentityCredentialDelegate. The delegate locates the pending FedCM request by calling AutofillSource::FromPage(web_contents->GetPrimaryPage()), retrieving the request initiated by the top-level page.

The IdentityCredentialSuggestionGenerator then fetches the account data from the AutofillSource (RequestService). Critically, RequestService::GetAutofillSuggestions() returns the IdP account data without checking if the frame requesting the suggestions matches the frame that initiated the request, completely bypassing the permissions policy check for the iframe.

Upon user selection of a suggestion, RequestService::NotifyAutofillSuggestionAccepted displays a confirmation modal. The UI displays the Relying Party as the top-level origin (using GetTopFrameOriginForDisplay), deceiving the user into believing they are sharing data with the trusted embedding site. After confirmation, AutofillExternalDelegate triggers a fill operation. Because the autofill was triggered from the iframe, the triggered_origin matches the target field's origin, allowing the fill to pass FormForest cross-frame security checks and inject the PII into the iframe's DOM.

Potential Attack Scenario

  1. An attacker embeds a malicious iframe (https://evil.example) on a legitimate Relying Party (https://rp.example).
  2. The RP initiates a conditional FedCM request. The browser caches the IdP details at the Page level.
  3. The user clicks on an <input autocomplete="email webidentity"> field inside the evil.example iframe.
  4. The browser displays autofill suggestions containing the user's IdP email.
  5. The user selects the suggestion. A modal appears stating "Sign in to rp.example with idp.example".
  6. The user, trusting rp.example, clicks "Continue".
  7. The email address is filled into the <input> element inside the evil.example iframe.
  8. Malicious JavaScript in the iframe reads the field value and exfiltrates the PII.

Suggested Fix

The core issue is that ContentIdentityCredentialDelegate fetches the AutofillSource using FromPage(), leaking the request across frame boundaries.

  1. Introduce AutofillSource::FromRenderFrameHost(RenderFrameHost*): This method should retrieve the pending request for the page, but explicitly verify that the request was initiated by the provided RenderFrameHost. Since RequestService is a DocumentUserData, it is inherently tied to a specific frame.
  2. Update Suggestion Generation: Modify ContentIdentityCredentialDelegate and IdentityCredentialSuggestionGenerator to pass the RenderFrameHost that triggered the autofill request (resolvable via trigger_field.host_frame() and the WebContents) to the new FromRenderFrameHost method.

This ensures that only the specific frame that initiated the FedCM request (and thus passed the initial permissions policy check) can retrieve and display the resulting autofill suggestions.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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 Autofill subsystem retrieves pending FedCM requests per Page without verifying the requesting frame's origin or permissions policy, allowing any frame in the page to access the data.

Impact

An attacker could steal a user's email and full name from an identity provider, but the issue is gated behind experimental flags.

What the attacker needed

Experimental FedCM autofill flag enabled; victim visits a site with attacker iframe; victim interacts with autofill field

The fix

The fix should verify that the frame requesting autofill suggestions matches the frame that initiated the FedCM request, by introducing a method that checks the RenderFrameHost.

How it was found

  1. An attacker embeds a malicious iframe on a legitimate Relying Party site.
  2. The Relying Party initiates a conditional FedCM request, caching IdP details at the Page level.
  3. The user clicks on an autocomplete field inside the malicious iframe.
  4. The browser displays autofill suggestions containing the user's IdP email.
  5. The user selects a suggestion and confirms a modal that shows the top-level origin.
  6. The email is filled into the iframe's input, and malicious JavaScript exfiltrates it.

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 sign in with a third-party service, the browser may show suggestions like your email. This report found that a malicious iframe embedded on a website could trick the browser into showing those suggestions and then steal your email and name. The iframe could do this because the browser did not check which frame was asking for the suggestions.

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.