Skip to content
Info disclosure Advisory Advanced CVE-2026-17880

Inappropriate implementation in Autofill (CVE-2026-17880)

A logic flaw in Chrome's Autofill heuristics lets a field named like a flight verification input be classified as an unknown type instead of a credit card verification code, because the travel parser's score outranks the credit card parser's score. This bypasses the check meant to stop CVCs being saved, so the code is stored in the cross-origin Autocomplete history and could be offered back to a malicious site.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 48 days

Flapjack, 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 logic flaw in Autofill heuristics allows sensitive Credit Card Verification Codes (CVC) to be misclassified as UNKNOWN_TYPE due to a priority inversion where the Travel parser's score (1.2) overrides the Credit Card parser's score (1.0). This misclassification bypasses explicit security checks meant to block CVC storage, resulting in the CVC being saved to the cross-origin Autocomplete history where malicious sites can retrieve it.

Affected files:

  • components/autofill/core/browser/form_parsing/travel_field_parser.cc
  • components/autofill/core/browser/form_parsing/form_field_parser.h
  • components/autofill/core/browser/foundations/browser_autofill_manager.cc
  • components/autofill/core/browser/single_field_fillers/autocomplete/autocomplete_history_manager.cc

Estimated timestamp from git blame: 2019-02-08

Summary

A potential vulnerability in Chrome's Autofill system allows sensitive Credit Card Verification Codes (CVC) to bypass security checks and be saved in cleartext to the origin-agnostic Autocomplete database. This occurs due to a priority inversion where the TravelFieldParser assigns an UNKNOWN_TYPE classification with a higher score than the specific CREDIT_CARD_VERIFICATION_CODE classification assigned by the CreditCardFieldParser or StandaloneCvcFieldParser. Once saved, any site can retrieve the sensitive data by using a field with the same name.

Technical Details

When Chrome parses a form to determine field types, it uses multiple local heuristics. The process is orchestrated by FormFieldParser::ParseFormFields (components/autofill/core/browser/form_parsing/form_field_parser.cc).

  1. Priority Inversion: If a form contains an input named flight_verification, it matches patterns for two different parsers:
    • TravelFieldParser::Parse matches the FLIGHT regex (airline|flight in legacy_regex_patterns.json:3242). It assigns the candidate UNKNOWN_TYPE with a base score of 1.2f (kBaseTravelParserScore defined in form_field_parser.h:252).
    • CreditCardFieldParser::Parse (or StandaloneCvcFieldParser) matches the CREDIT_CARD_VERIFICATION_CODE regex, which explicitly includes the substring verification (legacy_regex_patterns.json:2783). It assigns the candidate CREDIT_CARD_VERIFICATION_CODE with a base score of 1.0f (kBaseCreditCardParserScore defined in form_field_parser.h:254).
    • During candidate resolution (FieldCandidates::BestHeuristicType() in field_candidates.cc:34-47), the candidate with the highest score wins. Because 1.2f > 1.0f, the field's best_heuristic_type is incorrectly set to UNKNOWN_TYPE.
  2. Security Check Bypass: BrowserAutofillManager::MaybeImportFromSubmittedForm (browser_autofill_manager.cc:587) processes fields prior to saving them to Autocomplete. It contains a specific security check to block CVCs: if (autofill_field->Type().GetCreditCardType() == CREDIT_CARD_VERIFICATION_CODE) { field.set_should_autocomplete(false); } (browser_autofill_manager.cc:610-615). Because the heuristic classification was overridden to UNKNOWN_TYPE, this check evaluates to false, and should_autocomplete remains true.
  3. Blocklist Gap: The field is forwarded to AutocompleteHistoryManager::OnWillSubmitFormWithFields, which validates the field name using IsFieldNameMeaningfulForAutocomplete (autocomplete_history_manager.cc:155-166). The blocklist regex (kRegex) forbids names containing cvc, cvn, cvv, passw, pwd, or pin, but completely lacks terms used by the CVC heuristics, like verification or security code. Thus, flight_verification is deemed a valid, saveable name.

The sensitive CVC is subsequently saved to the local Web Data SQLite database, associated with the origin-agnostic name flight_verification.

Suggested Attacker Steps

Note: These are potential steps as our tooling agent cannot execute code to verify the exploit end-to-end.

  1. An attacker compromises a benign airline checkout page (or creates a seemingly benign one) and ensures the CVC input field is named <input type="text" name="flight_verification">.
  2. A victim enters their CVC and submits the form. Due to the parser conflict, the CVC is saved to their local Autocomplete database.
  3. The attacker hosts a separate, cross-origin malicious site containing the same field: <input type="text" name="flight_verification">.
  4. When the victim visits the malicious site and clicks anywhere on the page (or interacts with a decoy field), Chrome offers the saved CVC as an Autocomplete suggestion.
  5. If the victim accepts the suggestion, the CVC is filled, and the attacker's JavaScript immediately exfiltrates it.

Suggested Remediation

  1. Adjust Parser Scoring: Modify TravelFieldParser (or candidate resolution logic) so that generic classifications like UNKNOWN_TYPE do not override specific, sensitive classifications like CREDIT_CARD_VERIFICATION_CODE from other parsers.
  2. Expand Autocomplete Blocklist: Update the regex kRegex in AutocompleteHistoryManager::IsFieldNameMeaningfulForAutocomplete to include missing sensitive keywords used by the CVC parsers, such as verification and security.?code.

Evaluated with Chrome root at commit: 2155cb00003ec35716a76ed3246eae995f87b7ff


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.

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

Likely a priority inversion in the heuristic scoring, where a generic travel parser's higher base score overrides the specific credit card verification code classification, and the autocomplete name blocklist lacks the matching keywords.

Impact

A saved card verification code could be offered back on an attacker's site and stolen if the victim accepts the suggestion, though the report notes the exploit was not verified end to end.

What the attacker needed

Victim enters CVC on a crafted page; victim later visits attacker's site; victim accepts the autocomplete suggestion

The fix

Parser scoring should be adjusted so generic classifications cannot override specific sensitive ones, and the autocomplete name blocklist should include the missing CVC keywords.

How it was found

  1. An attacker sets up or compromises a page whose CVC field is named to match the flight pattern.
  2. The victim enters their CVC and submits the form, and it is saved to the local Autocomplete database.
  3. The attacker hosts a separate cross-origin page with a field of the same name.
  4. The victim visits that page and interacts with it, and Chrome offers the saved CVC as a suggestion.
  5. If the victim accepts it, the attacker's script reads the filled value and sends it away.

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.

Chrome tries to guess what each form field is for, such as a name or a card security code, by matching the field's name against patterns. Here two guesses competed and the less specific one won, so a card security code was treated as an ordinary unknown field. That meant a safety rule designed to stop such codes being remembered was skipped, and the code could be saved and later suggested on another website.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.