Incorrect authorization in Autofill (CVE-2026-106212)
The legacy Autofill merge flow filtered Google Wallet loyalty card suggestions using only the main-frame URL, not the origin of the field being filled. A cross-origin iframe on an affiliated merchant page could therefore receive the victim's loyalty card number if the user accepted the suggestion.
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: In the legacy Autofill path, Google Wallet loyalty card suggestions are filtered and merged based solely on the main-frame URL instead of the trigger field's frame origin. Consequently, a potential cross-origin iframe embedded on an affiliated merchant page can trigger and receive the victim's Wallet loyalty card suggestions. If the user accepts the suggestion, the loyalty card number is filled directly into the cross-origin iframe's field with no origin-boundary checks.
Affected files:
components/autofill/core/browser/suggestions/valuables/valuable_suggestion_generator.cccomponents/autofill/core/browser/foundations/browser_autofill_manager.cc
Estimated timestamp from git blame: 2025-05-16
Description
There is a potential origin verification bypass in Chrome's legacy Autofill suggestions merging flow. When a user focuses a form field in a cross-origin iframe, Google Wallet loyalty card suggestions associated with the primary top-level main-frame domain can be merged with address suggestions and filled into the iframe's text field.
Root Cause
In components/autofill/core/browser/suggestions/valuables/valuable_suggestion_generator.cc, CreateLoyaltyCardSuggestionsForMerge filters stored loyalty cards by checking whether they are affiliated with the passed URL, but performs no verification of the trigger field's origin:
// components/autofill/core/browser/suggestions/valuables/valuable_suggestion_generator.cc
std::vector<Suggestion> CreateLoyaltyCardSuggestionsForMerge(
const ValuablesDataManager& valuables_manager,
const GURL& url) {
std::vector<LoyaltyCard> all_loyalty_cards =
valuables_manager.GetLoyaltyCardsToSuggest();
...
std::vector<LoyaltyCard> affiliated_cards;
std::copy_if(all_loyalty_cards.begin(), all_loyalty_cards.end(),
std::back_inserter(affiliated_cards),
[&](const LoyaltyCard& card) {
return card.GetAffiliationCategory(url) ==
LoyaltyCard::AffiliationCategory::kAffiliated;
});
The sole caller in components/autofill/core/browser/foundations/browser_autofill_manager.cc passes the primary main-frame URL:
// components/autofill/core/browser/foundations/browser_autofill_manager.cc
std::vector<Suggestion> loyalty_cards_suggestions_for_merge =
CreateLoyaltyCardSuggestionsForMerge(
*valuables_manager,
client().GetLastCommittedPrimaryMainFrameURL());
MergeLoyaltyCardsAndAddressSuggestions(
suggestions, std::move(loyalty_cards_suggestions_for_merge));
Because the trigger field's origin is never checked against the primary main frame's origin (unlike in the patched sibling functions LoyaltyCardSuggestionGenerator::GenerateSuggestions and Touch-to-Fill payment methods), a cross-origin iframe can receive these suggestions.
Potential Trigger Steps
Please note that these are potential, suggested steps derived from static analysis, as our dynamic analysis environment cannot run compiled code.
- A victim has at least one Google Wallet loyalty card for
merchant.comand at least one saved Autofill address profile. - The user navigates to
https://merchant.com, which commits as the primary main frame. - The merchant page embeds a cross-origin iframe hosted on
https://attacker.example/. - The iframe contains an input field whose attributes trigger classification as an email or loyalty card field (
EMAIL_OR_LOYALTY_MEMBERSHIP_ID). - The victim focuses on the input inside the iframe.
- Chrome generates profile suggestions for the field (making
suggestionsnon-empty), and subsequently triggers the legacy merge flow. - Due to the missing origin check,
CreateLoyaltyCardSuggestionsForMergefilters cards against the main frame URL (https://merchant.com/), and merges themerchant.comloyalty card suggestion into the suggestion list shown on the iframe. - The victim, seeing the merchant's branding, selects the loyalty card suggestion.
AutofillExternalDelegate::DidAcceptSuggestioncallsFillOrPreviewField, which routes the value fill directly to the iframe's driver with no origin-boundary checks.- The loyalty card number is populated into the field, allowing the attacker-controlled iframe to read and exfiltrate it.
Suggested Fix
Before calling CreateLoyaltyCardSuggestionsForMerge or within the merging flow, enforce that the primary main frame's origin matches the trigger field's origin:
if (client().GetLastCommittedPrimaryMainFrameOrigin() == field.origin()) {
std::vector<Suggestion> loyalty_cards_suggestions_for_merge =
CreateLoyaltyCardSuggestionsForMerge(
*valuables_manager,
client().GetLastCommittedPrimaryMainFrameURL());
MergeLoyaltyCardsAndAddressSuggestions(
suggestions, std::move(loyalty_cards_suggestions_for_merge));
}
Evaluated with Chrome root at commit: 94d9235ebe3b7276e5284f0dc5d55577ff949908
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 loyalty card merge function filtered cards by the main-frame URL but never checked the trigger field's origin, unlike the patched sibling functions.
Impact
A cross-origin iframe could receive the victim's loyalty card number if the victim accepted the suggestion, but the report is based on static analysis and the steps are described as potential.
What the attacker needed
Victim has a loyalty card for the merchant; victim has a saved Autofill address; victim visits the merchant site; merchant page embeds an attacker iframe
The fix
The report suggests checking that the primary main frame's origin matches the trigger field's origin before merging loyalty card suggestions.
How it was found
- The victim has a Google Wallet loyalty card for a merchant and a saved Autofill address.
- The victim visits the merchant site, which is the primary main frame.
- The merchant page embeds a cross-origin iframe controlled by the attacker.
- The iframe contains an input field classified as an email or loyalty card field.
- The victim focuses the field, Chrome generates profile suggestions and triggers the legacy merge flow.
- The loyalty card suggestion is merged in; if the victim selects it, the card number is filled into the iframe's field.
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 type in a form, Chrome can offer to fill in saved details like addresses or loyalty card numbers. This report says that for one older code path, Chrome decided which loyalty cards to offer by looking only at the website in the main browser tab, not at the smaller embedded page (an iframe) where the field actually sits. That meant a page from a different website embedded in the merchant's page could be offered the merchant's loyalty card, and if the user picked it, the card number would be typed into that other page's field.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.