Information leak in Autofill (CVE-2026-106342)
A FedCM conditional autofill preview sends raw user PII (email, name, phone) from the browser process to the relying party renderer before the user consents. A compromised renderer could read the suggested value on form elements and harvest that data without any user approval.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A privacy vulnerability in FedCM conditional autofill allows a Relying Party (RP) renderer to obtain sensitive user PII (email, name, phone) before user consent is granted. When a user highlights a FedCM suggestion, the browser sends the raw PII to the renderer to display an autofill preview, allowing a compromised renderer to harvest this data.
Affected files:
components/autofill/core/browser/ui/autofill_external_delegate.cccomponents/autofill/content/browser/suggestions/identity_credential_suggestion_generator.cccomponents/autofill/core/browser/filling/form_filler.cccomponents/autofill/content/renderer/autofill_agent.ccthird_party/blink/renderer/core/html/forms/text_control_element.cc
Estimated timestamp from git blame: 2025-03-24
Summary
A potential privacy vulnerability has been identified in the Federated Credential Management (FedCM) conditional autofill implementation. When FedCM suggestions are displayed in the autofill popup, hovering over or navigating to a suggestion triggers a 'preview' action. This action sends sensitive user information (PII) from the browser process to the Relying Party (RP) renderer process before the user has provided explicit consent via the FedCM UI.
Vulnerability Details
In components/autofill/core/browser/ui/autofill_external_delegate.cc, the method DidSelectSuggestion handles the event when a user highlights a suggestion (e.g., via mouse hover or arrow keys). For suggestions of type SuggestionType::kIdentityCredential, the code directly proceeds to a preview fill:
// components/autofill/core/browser/ui/autofill_external_delegate.cc
case SuggestionType::kIdentityCredential: {
VerifiedProfile profile =
suggestion.GetPayload<Suggestion::IdentityCredentialPayload>().fields;
manager_->FillOrPreviewForm(mojom::ActionPersistence::kPreview,
query_form_, query_field_.global_id(),
&profile, GetTriggerSource(),
/*blocked_fields=*/{});
break;
}
Unlike the 'Accept' path (triggered by a click), which correctly gates the disclosure behind the FedCM modal/consent dialog, the 'Preview' path has no such protection.
The data flow is as follows:
- The browser's
FormFillerretrieves raw PII strings (email, name, etc.) from theVerifiedProfilepayload. - The browser sends a
mojom::AutofillAgent::ApplyFieldsActionIPC to the renderer, containing the un-obfuscated PII. - In the renderer,
AutofillAgentandform_utilreceive this data and callblink::TextControlElement::SetSuggestedValue, which stores the PII in thesuggested_value_member variable of the target form element.
Impact
A compromised RP renderer process can directly access the suggested_value_ of form elements to harvest the user's private data (email, full name, phone number) without the user ever clicking 'Accept' or 'Continue'. This violates the core privacy principle of FedCM: that no user information should be disclosed to the Relying Party until the user explicitly approves the disclosure through the browser's trusted UI.
Note: This feature is currently gated behind the FedCmAutofill flag and is not yet enabled by default in stable releases.
Potential Reproduction Steps
Note: These steps are based on code analysis and have not been validated with a running proof-of-concept.
- Enable the
FedCmAutofillfeature flag. - Navigate to a site that has initiated a conditional FedCM request (
mediation: 'conditional'). - Ensure the user is logged into an Identity Provider that returns account details.
- Focus an input field to trigger the autofill popup.
- Hover the mouse over an IdP account suggestion.
- In a debugger attached to the renderer process, verify that
blink::TextControlElement::suggested_value_is populated with the user's PII.
Suggested Fix
The browser should not send un-obfuscated PII to the renderer during the preview phase for kIdentityCredential suggestions. Instead, the preview should either be disabled for this type until consent is granted, or the browser should send a masked value (e.g., '••••@example.com') to the renderer for the visual preview.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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
The preview path for identity credential suggestions fills the form with un-obfuscated PII without the consent gating that the accept path applies.
Impact
A compromised relying party renderer could read the user's email, full name and phone number without the user ever accepting the disclosure; the feature is behind a flag and not enabled by default, and the steps were not validated with a running proof of concept.
What the attacker needed
FedCmAutofill flag enabled; site starts a conditional FedCM request; user signed in to an identity provider; renderer is compromised or malicious
The fix
The preview should be disabled for this suggestion type until consent is granted, or the browser should send a masked value to the renderer instead of raw PII.
How it was found
- Enable the FedCmAutofill feature flag.
- Visit a site that started a conditional FedCM request.
- Be signed in to an identity provider that returns account details.
- Focus an input field so the autofill popup appears.
- Hover over an identity provider account suggestion.
- In a renderer debugger, check that the form element's suggested value now holds the user's PII.
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 hover over an autofill suggestion, the browser shows a preview of what would be filled in. Here that preview contained the user's real personal details, and it was handed to the website's own code before the user agreed to share anything. If that website's code were malicious or compromised, it could simply read those details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.