Skip to content
Access control Advisory Advanced CVE-2026-91739

Missing authorization in Transactions Platform (CVE-2026-91739)

The datalist update path in Chromium's Autofill popup controller did not check that the calling frame's delegate owned the currently displayed popup. A compromised renderer in one frame could therefore inject attacker-chosen datalist entries into another frame's Autofill popup, and a user click would write the attacker's text into the victim frame's input field.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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 compromised renderer can potentially prepend arbitrary datalist options into an active Autofill popup belonging to a different frame. This occurs because ChromeAutofillClient::UpdateAutofillDataListValues lacks the delegate and session validation checks present in other suggestion-updating flows. If a user clicks on the injected datalist entry, the attacker-supplied text is written into the victim frame's input field.

Affected files:

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

Estimated timestamp from git blame: 2013-07-18

Description

An architectural flaw in Chromium's Autofill UI popup controller allows a compromised renderer to potentially inject arbitrary suggestion options (via datalist updates) into a live Autofill popup belonging to a cross-origin victim frame.

In chrome/browser/ui/autofill/chrome_autofill_client.cc, ChromeAutofillClient::UpdateAutofillDataListValues is a popup-mutating sibling of UpdateAutofillSuggestions. Unlike UpdateAutofillSuggestions (which guards against wrong-delegate updates and closes the popup on mismatch via crbug.com/40143378), the datalist update flow lacks any session, filling product, or delegate validation checks:

C++
void ChromeAutofillClient::UpdateAutofillDataListValues(
    base::span<const SelectOption> options) {
  if (suggestion_controller_) {
    suggestion_controller_->UpdateDataListValues(options);   // No validation checks performed
  }
}

UpdateAutofillDataListValues is callable by any frame's per-RenderFrameHost AutofillExternalDelegate::OnQuery, which forwards the renderer-supplied FormFieldData::datalist_options_ member verbatim:

C++
void AutofillExternalDelegate::OnQuery(... bool update_datalist) {
  ...
  if (update_datalist) {
    manager_->client().UpdateAutofillDataListValues(
        query_field_.datalist_options());
  }
}

Because ChromeAutofillClient and its suggestion_controller_ are per-WebContents (tab-level), while AutofillExternalDelegate is per-RenderFrameHost (frame-level), an unvalidated request from frame A's delegate can mutate the popup currently owned by frame B's delegate.


Potential Attack Scenario

(Note: These are potential steps based on static code analysis; our tooling does not currently have the capability to execute dynamic proof-of-concept tests.)

  1. A user visits a page embedding two cross-origin frames: a victim frame B (https://victim.example) and an attacker frame A (https://attacker.example) controlled via a compromised renderer.
  2. The user interacts with an input field in frame B, opening a trusted Autofill popup anchored to frame B's input field. The active delegate for the tab-level suggestion_controller_ is set to AED_B.
  3. The compromised renderer in frame A bypasses renderer-side focus validation and dispatches a mojom::AutofillDriver::AskForValuesToFill Mojo call with custom datalist_options and is_focusable = false.
  4. Frame A's request is handled by frame A's BrowserAutofillManager (BAM_A), calling AED_A::OnQuery(update_datalist=true).
  5. AED_A::OnQuery calls UpdateAutofillDataListValues on the client, which forwards the malicious options directly to AutofillPopupControllerImpl::UpdateDataListValues without validating origin or delegate alignment.
  6. The controller prepends the attacker-defined datalist values above frame B's legitimate suggestions and re-renders the popup.
  7. When frame A's subsequent suggestion generation completes, AED_A::AttemptToDisplayAutofillSuggestions evaluates !query_field_.is_focusable(). Since this is true, it returns early before calling HideSuggestions or ShowAutofillSuggestions, ensuring the injected popup remains persistent.
  8. The user clicks on the newly injected top-level suggestion, and the controller routes the acceptance event to delegate_->DidAcceptSuggestion(). Since delegate_ was never reassigned, the event is processed by AED_B (the victim's delegate), instructing the victim frame's renderer to populate the input field with the attacker-chosen string.

Suggested Fix

Apply validation checks inside ChromeAutofillClient::UpdateAutofillDataListValues before mutating the active controller. Specifically, verify that the calling frame/delegate matches the active popup's owner, or close the active popup if a mismatch is detected, similar to the mitigation used in UpdateAutofillSuggestions:

C++
void ChromeAutofillClient::UpdateAutofillDataListValues(
    base::span<const SelectOption> options) {
  if (!suggestion_controller_) {
    return;
  }
  // Suggestion: Verify delegate matches or close popup on mismatch
  // if (active_delegate != calling_delegate) { Hide(); return; }
  suggestion_controller_->UpdateDataListValues(options);
}

Evaluated with Chrome root at commit: 3947e01999a53d4e2382e39736cb79d79c7dffcf


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 the datalist update function mutates the tab-level popup controller without verifying that the calling frame's delegate matches the popup's current owner, unlike the sibling suggestion-update flow.

Impact

A compromised renderer could inject entries into another frame's Autofill popup and, if the user clicked one, write attacker-chosen text into that frame's input field; the report notes this is based on static analysis without a dynamic proof of concept.

What the attacker needed

Compromised renderer; victim focuses an input in another frame; user clicks an injected entry

The fix

The datalist update should verify that the calling delegate matches the active popup's owner, or close the popup on mismatch, as the sibling suggestion-update flow does.

How it was found

  1. A page embeds a victim frame and an attacker-controlled frame.
  2. The user focuses an input in the victim frame, opening an Autofill popup owned by that frame's delegate.
  3. The compromised renderer in the attacker frame sends a fill request with custom datalist options and a non-focusable flag.
  4. The request reaches the datalist update path, which forwards the options to the popup controller without validation.
  5. The controller prepends the attacker's entries to the victim's suggestions and keeps the popup open.
  6. The user clicks an injected entry and the victim frame's input is filled with the attacker's text.

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.

A web page can contain frames from different websites, and the browser shows an Autofill suggestion list when you click an input. The code that updates that list with datalist entries did not check which frame asked for the update, so a malicious frame could add its own entries to another site's list. If you then clicked one, the attacker's text would be typed into the other site's field.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.