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

Information leak in Transactions Platform (CVE-2026-95336)

A logic flaw in Chromium's Autofill could cause credit card CVC values to be saved into the shared, non-origin-scoped Autocomplete database and later offered as suggestions on other origins. An attacker could then read the leaked CVC from the autocomplete dropdown on their own page.

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: A potential vulnerability in Chromium's Autofill allows sensitive credit card CVC values to be persisted into the non-origin-scoped Autocomplete database and later read by arbitrary origins. This occurs because CVC fields are rationalized to UNKNOWN_TYPE on certain form layouts (bypassing the type gate) and several valid CVC field names are missing from the Autocomplete name-gate blocklist.

Affected files:

  • components/autofill/core/browser/single_field_fillers/autocomplete/autocomplete_history_manager.cc
  • components/autofill/core/browser/form_structure_rationalizer.cc
  • components/autofill/core/common/autofill_regex_constants.h

Estimated timestamp from git blame: 2023-07-19

Summary

A potential logic flaw in Chromium's Autofill/Autocomplete components can lead to sensitive credit card CVC (card verification code) values being saved to the global, non-origin-scoped Autocomplete SQLite database and subsequently leaked to other origins.

Note: This analysis is based on static code review; our automated tooling does not currently have the capability to execute code or run a live proof of concept. The steps described below represent suggested and potential attack vectors.

Root Causes

1. Type-Gate Bypass via Rationalization

In components/autofill/core/browser/form_structure_rationalizer.cc, FormStructureRationalizer::RationalizeCreditCardFieldPredictions() is designed to identify and rationalize credit card fields. If a form contains an email field (or other non-CC fields) and a CVC field, but no credit card number (PAN), the rationalizer sets keep_cc_fields to false (line 430). Since email_address_found is true, the CVC field is not considered standalone (is_standalone_cvc_field is false). As a result, the CVC field's type is rewritten to UNKNOWN_TYPE (line 554):

C++
else if (!keep_cc_fields) {
  field->SetTypeTo(AutofillType(UNKNOWN_TYPE),
                   AutofillPredictionSource::kRationalization);
}

When the form is submitted, IsFieldTypeSaveable() in components/autofill/core/browser/single_field_fillers/autocomplete/autocomplete_history_manager.cc determines if the field's data is eligible for autocomplete. Because IsFieldTypeSaveable() has a fall-through case for UNKNOWN_TYPE (line 74), it returns true (indicating the field is saveable), bypassing the protection that blocks CVC fields (CREDIT_CARD_VERIFICATION_CODE and CREDIT_CARD_STANDALONE_VERIFICATION_CODE).

2. Name-Gate Bypass via Regex Mismatch

The secondary defense is a name-gate blocklist in AutocompleteHistoryManager::IsFieldNameMeaningfulForAutocomplete() (line 321):

C++
static constexpr char16_t kRegex[] =
    // Suppress CVC fields.
    u"csc|cvd|ccv|cvc|cvn|cvv|card[-_]?verification|verification[-_]?code|"
    u"verify[-_]?(?:card|code)|security[-_]?(?:code|value|number)";

However, this pattern is a proper subset of the main CVC heuristic regex, kCardCvcRe in components/autofill/core/common/autofill_regex_constants.h:

C++
inline constexpr char16_t kCardCvcRe[] =
    u"verification|card.?identification|security.?code|card.?code"
    u"|security.?value"
    u"|security.?number|card.?pin|c-v-v"
    u"|código de segurança"  // pt-BR
    u"|código de seguridad"  // es-MX
    u"|karten.?prüfn"        // de-DE
    u"|(?:cvn|cvv|cvc|csc|cvd|ccv)"
    u"|\\bcid\\|cccid";

Field names like cardCode, card_code, cardPin, cid, cccid, or c-v-v match the heuristic classification rules for CVC fields but do not match the autocomplete suppression blocklist regex. Thus, IsFieldNameMeaningfulForAutocomplete() returns true for these names.

Suggested / Potential Attack Scenario

Write Path (Saving the CVC):

  1. A user visits a legitimate merchant page containing a payment/re-authentication form with an email field and a CVC input named cardCode (with autocomplete="cc-csc"):

    HTML
    <input name="email" autocomplete="email">
    <input name="cardCode" autocomplete="cc-csc" type="text">
    
  2. The rationalizer runs, converting the CVC field to UNKNOWN_TYPE.

  3. The user inputs their CVC (e.g., "123") and submits.

  4. IsFieldValueSaveable() bypasses both the type gate and the name gate, saving the entry ("cardCode", "123") into the global, non-origin-isolated Autocomplete table (autofill).

Read Path (Stealing the CVC):

  1. The user visits an attacker-controlled origin containing an input field with the matching name:

    HTML
    <input name="cardCode" type="text">
    
  2. Upon focusing this field, AutocompleteSuggestionGenerator::GenerateSuggestions() is invoked. Since the field lacks classification (or is standalone), the type is evaluated as UNKNOWN_TYPE rather than CVC, bypassing the read-side CVC filter.

  3. The database queries matching names and retrieves the stored value "123" from the shared table.

  4. The user is offered "123" in the autocomplete dropdown. Selecting it fills the value into the DOM, where the attacker's script can read and exfiltrate it.

Suggested Fix

  1. Update Name Blocklist: Synchronize AutocompleteHistoryManager::IsFieldNameMeaningfulForAutocomplete's regex with kCardCvcRe (or reference a common regex pattern) to block all typical CVC names.
  2. Evaluate Pre-rationalized / Autocomplete Types: Ensure that IsFieldTypeSaveable evaluates the pre-rationalized or computed prediction types of a field, or do not save values of fields that were originally identified as credit card fields before rationalization.

Evaluated with Chrome root at commit: 84065d9121f6e48f67755f0ae963cc09617e5c85


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 two gaps combine: a form-layout rule rewrites the CVC field to an unknown type so the save-time type check no longer blocks it, and the name-based blocklist for autocomplete is narrower than the main CVC name pattern, so names like cardCode pass both gates.

Impact

A stored CVC could be offered to and read by an arbitrary origin, but the report is a static code review with no live proof of concept, and the user must still select the suggestion.

What the attacker needed

Victim submits a CVC on a crafted form; victim later visits attacker page; victim selects the suggestion

The fix

The name blocklist should be synchronised with the main CVC regex, and the save check should use the pre-rationalised field type or refuse to save fields originally identified as credit card fields.

How it was found

  1. A user visits a merchant page with an email field and a CVC input named cardCode.
  2. The rationalizer rewrites the CVC field to an unknown type.
  3. The user enters the CVC and submits the form, and the value is saved to the shared autocomplete table.
  4. The user later visits an attacker page with an input of the same name.
  5. Focusing that input queries the shared table and offers the stored CVC as a suggestion.
  6. Selecting the suggestion fills the value into the page, where the attacker's script can read 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 type into a web form, the browser can remember what you entered and suggest it later. This report says the browser might remember a card's secret security code (the CVC) and offer it back on a completely different website, where that site's script could read it. The report is based only on reading the code, not on actually trying it.

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.