Skip to content
UI spoofing Advisory Advanced CVE-2026-17834

Inappropriate implementation in Passwords (CVE-2026-17834)

Password manager IPC handlers in Chromium only checked whether the calling frame was prerendering, not whether it was active or sitting in the Back/Forward Cache. A compromised renderer could therefore send form-submission messages from a cached frame and make the browser show a 'Save password?' bubble for the attacker's site while the user is on a different 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 the password manager driver allows a compromised renderer in the Back/Forward Cache to bypass lifecycle validations. This enables an inactive frame to trigger a browser-side 'Save password?' bubble over an unrelated, active page. This could be leveraged for timing-based click-hijacking or social-engineering attacks.

Affected files:

  • components/password_manager/content/browser/content_password_manager_driver.cc
  • components/password_manager/content/browser/bad_message.cc

Estimated timestamp from git blame: 2021-07-26

Root Cause

The autofill::mojom::PasswordManagerDriver Mojo associated receiver password_manager_receiver_ bound in ContentPasswordManagerDriver lacks a BackForwardCacheMessageFilter to drop or defer messages received while the associated frame is in the Back/Forward Cache (BFCache). Additionally, the renderer-to-browser password manager IPC handlers in ContentPasswordManagerDriver (located in components/password_manager/content/browser/content_password_manager_driver.cc) only perform a lifecycle check against prerendering via bad_message::CheckFrameNotPrerendering(), but fail to check if the calling frame is active or cached:

C++
bool CheckFrameNotPrerendering(content::RenderFrameHost* frame) {
  if (frame->GetLifecycleState() ==
      content::RenderFrameHost::LifecycleState::kPrerendering) {
    bad_message::ReceivedBadMessage(
        frame->GetProcess(), BadMessageReason::CPMD_BAD_ORIGIN_PRERENDERING);
    return false;
  }
  return true;
}

Since the BFCached frame's state is kInBackForwardCache rather than kPrerendering, the validation passes. No active frame validation (render_frame_host_->IsActive()) is performed on the form submission IPC pathways.

Potential Attack Scenario

An attacker with compromised renderer capabilities could potentially execute the following sequence to trigger the vulnerability (please note that these are potential/suggested steps, as our automated analysis tooling cannot currently execute code or run local verification binaries):

  1. The user visits an attacker-controlled page (https://attacker.com). The page is BFCache-eligible and binds the PasswordManagerDriver associated interface.
  2. The user navigates to https://victim.com within the same tab, causing the attacker.com RenderFrameHost to enter the Back/Forward Cache.
  3. The compromised renderer hosting attacker.com bypasses the execution suspension and transmits a PasswordFormSubmitted message containing a mock login form for attacker.com.
  4. The browser processes the form, provisionally saving it, and creating a PasswordFormManager instance.
  5. The compromised renderer transmits DynamicFormSubmission(kXhrSucceeded) to finalize the login detection flow.
  6. The browser determines successful login and invokes ChromePasswordManagerClient::PromptUserToSaveOrUpdatePassword.
  7. The browser validates if it can show a bubble on the active tab's URL (https://victim.com). Since this succeeds, the browser displays the "Save password?" bubble anchored to the active tab's omnibox, asking the user to save credentials for https://attacker.com.

Suggested Remediation / Fix

The IPC handlers in ContentPasswordManagerDriver should verify that the calling frame is active. Similar to other sensitive browser-side handlers, the password manager driver should reject or drop messages if !render_frame_host_->IsActive() or if the frame is in the Back/Forward Cache.

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


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 password manager driver's IPC handlers only validated against the prerendering lifecycle state and never checked that the calling frame was active, so messages from a Back/Forward Cached frame were accepted.

Impact

An attacker who already controls a renderer could make a password-saving prompt for their own site appear over an unrelated page, which could support timing-based click hijacking or social engineering; the report notes the steps are potential and were not executed.

What the attacker needed

Attacker already controls a renderer; attacker page is BFCache-eligible; victim navigates within the same tab

The fix

The password manager driver's IPC handlers should reject messages when the calling frame is not active or is in the Back/Forward Cache.

How it was found

  1. The user opens an attacker-controlled page that is eligible for the Back/Forward Cache and binds the password manager interface.
  2. The user navigates to a victim site in the same tab, pushing the attacker page into the Back/Forward Cache.
  3. The compromised renderer escapes the execution suspension and sends a form-submitted message with a fake login form.
  4. The browser provisionally saves the form and creates a password form manager.
  5. The renderer sends a dynamic form submission message to complete the login detection flow.
  6. The browser decides login succeeded and shows a 'Save password?' bubble for the attacker's site on the active victim page.

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 browser keeps recently left pages in a paused store called the Back/Forward Cache so going back is fast. Those paused pages are supposed to be unable to talk to the browser, but here the code only blocked pages that were being pre-loaded in the background, not pages in that paused store. So a page that had already been tampered with could still ask the browser to show a password-saving prompt, which appeared on top of a completely different site.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.