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

Inappropriate implementation in Autofill (CVE-2026-13022)

An early return in the Autofill manager leaves a visible popup and mutated query state when a memory trigger source is used while personal context is disabled. A compromised renderer in a cross-origin frame could overwrite the active query so that a later user acceptance sends credit card or address data to the attacker's origin.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 29 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 state desynchronization vulnerability in BrowserAutofillManager allows a compromised renderer in a cross-origin frame to overwrite active query state while an Autofill popup remains visible. Due to an early-return path that fails to hide the popup or restore state, a subsequent user acceptance can redirect sensitive credit card or address data to the attacker's origin.

Affected files:

  • components/autofill/core/browser/foundations/browser_autofill_manager.cc
  • components/autofill/core/browser/ui/autofill_external_delegate.cc

Estimated timestamp from git blame: 2026-04-28

Root Cause Analysis

In BrowserAutofillManager::OnAskForValuesToFillImpl (located in components/autofill/core/browser/foundations/browser_autofill_manager.cc), the method updates the active query state on the external delegate before evaluating the eligibility gate for memory-related trigger sources:

C++
const FormFieldData& field = CHECK_DEREF(form.FindFieldByGlobalId(field_id));
external_delegate_->OnQuery(form, field, caret_bounds, trigger_source,
                            /*update_datalist=*/true);

if (IsAtMemoryTriggerSource(trigger_source)) {
  // Do not show the pop up at all for non eligible profiles.
  if (client().GetPersonalContextEnablementState() ==
      personal_context::PersonalContextEnablementState::
          kDisabledNotEligible) {
    return; // Early return leaves popup visible and query_field_ mutated
  }
  external_delegate_->OnSuggestionsReturned(field_id, {});
  return;
}

When client().GetPersonalContextEnablementState() == kDisabledNotEligible (which is the default in stock Chrome, as the kPersonalContext feature is disabled by default), the code performs an early return without closing any currently visible popup or restoring the previously active query_field_ state.


Potential Exploitation Mechanism

A compromised renderer could potentially exploit this behavior via the following sequence of events:

  1. Popup Initiation: A user clicks on an autofill-eligible field in a legitimate payment frame (Frame M on Origin M), causing the mainframe manager's AutofillExternalDelegate to display a credit card autofill popup.
  2. State Overwrite: A compromised renderer inside a subframe (Frame A on Origin A) directly calls the Mojo interface AskForValuesToFill with trigger_source = AutofillSuggestionTriggerSource::kAtMemory and field_id = field_A_id.
  3. Bypassing Renderer-to-Browser Checks: The trigger source kAtMemory successfully passes browser-side validation in bad_message::CheckSingleValidTriggerSource (defined in components/autofill/content/browser/bad_message.cc), as the validation only blocks kPlusAddressUpdatedInBrowserProcess.
  4. Desynchronization Trigger: Because both frames are inside the same FormForest, the router routes the request to the mainframe's BrowserAutofillManager. This manager updates its shared AutofillExternalDelegate's state variables (query_form_ and query_field_) to point to the attacker's Frame A.
  5. Popup Remains Visible: The manager evaluates IsAtMemoryTriggerSource and hits the kDisabledNotEligible early return. Because it returns immediately, suggestions are never generated, and AutofillSuggestionController::GetOrCreate is never invoked for the second request. Consequently, the original popup (showing suggestions for Frame M) remains open and active.
  6. Data Exfiltration: The user clicks on a suggestion in the still-visible popup. The delegate processes the acceptance via AutofillExternalDelegate::DidAcceptSuggestion, which resolves the cached form using the mutated query_form_ and query_field_. In FormForest::IsSafeToFill, the security check compares the destination fields (Origin A) to the triggered_origin (mutated to Origin A) and permits cross-frame autofill, sending the sensitive data directly to the compromised renderer.

Suggested Remediation

To prevent this state desynchronization, the early-return path should explicitly dismiss any active popups and reset the query state.

We recommend moving the eligibility gate check before modifying the delegate state, or ensuring that any early return explicitly closes the popup:

C++
if (IsAtMemoryTriggerSource(trigger_source)) {
  if (client().GetPersonalContextEnablementState() ==
      personal_context::PersonalContextEnablementState::
          kDisabledNotEligible) {
    client().HideAutofillSuggestions(SuggestionHidingReason::kUserGesture);
    return;
  }
}

const FormFieldData& field = CHECK_DEREF(form.FindFieldByGlobalId(field_id));
external_delegate_->OnQuery(form, field, caret_bounds, trigger_source,
                            /*update_datalist=*/true);

Evaluated with Chrome root at commit: a2bea94528f4bd6cc57739c43fa3bb890b8367d3


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

The code updates the external delegate's query state before checking the eligibility gate, and the early return for a disabled personal context does not hide the popup or restore the previous query state.

Impact

A compromised renderer could cause sensitive credit card or address data to be sent to the attacker's origin when the user accepts a suggestion from the still-visible popup.

What the attacker needed

Compromised renderer in a cross-origin frame; victim clicks an autofill field and a suggestion; personal context feature disabled (default)

The fix

The eligibility gate should be checked before modifying the delegate state, or the early return should explicitly hide the popup and reset the query state.

How it was found

  1. A user clicks an autofill-eligible field in a legitimate payment frame, showing a credit card popup.
  2. A compromised renderer in a subframe calls the AskForValuesToFill interface with a memory trigger source and its own field identifier.
  3. The request passes browser-side validation and is routed to the mainframe manager because both frames share a FormForest.
  4. The manager updates the shared delegate's query form and field to point to the attacker's frame.
  5. The eligibility check hits the early return, so the original popup stays visible and active.
  6. The user clicks a suggestion, and the delegate resolves the cached form using the mutated state, sending data to the attacker's origin.

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.

Autofill shows a popup with saved details like card numbers. The browser keeps track of which page asked for that popup. A bug lets a malicious page inside another frame change that tracking while the popup is still open, so clicking a suggestion can send the details to the wrong page.

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.