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

Incorrect security UI in Passwords (CVE-2026-13982)

Password-related popups in Chromium lack overlap checks that standard autofill popups have, so a compromised renderer can position them over permission prompts. This could trick a user into clicking 'Allow' on a permission dialog while the popup obscures the site origin.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 45 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: PopupBaseView lacks overlap checks for permission prompts and other browser dialogs, unlike PopupViewViews. A compromised renderer can exploit this to position password-related popups over sensitive UI elements. This may facilitate clickjacking attacks where users accidentally grant browser permissions.

Affected files:

  • chrome/browser/ui/views/autofill/popup/popup_base_view.cc
  • chrome/browser/ui/views/passwords/password_generation_popup_view_views.cc
  • chrome/browser/ui/views/passwords/password_cross_domain_confirmation_popup_view_views.cc

Estimated timestamp from git blame: 2024-04-25

Potential Vulnerability Description

A potential security issue has been identified in autofill::PopupBaseView, which is the base class for various password-related and autofill popups in Chromium. The method PopupBaseView::DoUpdateBoundsAndRedrawPopup() is responsible for positioning and rendering these popups. While it includes a check for overlaps with Picture-in-Picture windows, it lacks several security-critical overlap checks found in its sibling implementation, PopupViewViews (used for standard Autofill suggestions).

Specifically, PopupBaseView is missing calls to BoundsOverlapWithAnyOpenPrompt(), BoundsOverlapWithOpenPermissionsPrompt(), and BoundsOverlapWithHtmlFormPopup(). These checks are designed to hide the popup if it would otherwise obscure a security-sensitive browser prompt or dialog.

Technical Details

Popups inheriting from PopupBaseView, including PasswordGenerationPopupViewViews and PasswordCrossDomainConfirmationPopupViewViews, are created with ui::ZOrderLevel::kSecuritySurface (when the kAutofillPopupZOrderSecuritySurface feature is enabled). This Z-order level is higher than the default kNormal level used by browser permission bubbles. Consequently, these popups can render on top of and obscure permission dialogs.

Since a compromised renderer can influence the bounds of these popups via Mojo interfaces (e.g., mojom::PasswordGenerationDriver::ShowPasswordEditingPopup), it can potentially position them to cover critical context in a permission prompt, such as the site origin or the 'Block' button. This creates a clickjacking risk where a user, intending to interact with the trusted password manager UI, may accidentally click the 'Allow' button on an underlying permission prompt.

Potential Attack Scenario

  1. Renderer Compromise: An attacker compromises a renderer process through a separate vulnerability.
  2. Trigger Permission: The renderer triggers a browser permission prompt (e.g., for camera or geolocation).
  3. Position Popup: The compromised renderer calls ShowPasswordEditingPopup via the PasswordGenerationDriver interface, supplying specific bounds designed to overlap the permission bubble.
  4. Obscure Context: The browser displays the password generation popup at the specified location. Because PopupBaseView lacks overlap checks, it does not detect the collision with the permission bubble.
  5. Clickjacking: The user is tricked into clicking an exposed 'Allow' button on the permission prompt, which the attacker has rendered partially visible while obscuring the origin label.

Note: These are potential steps based on source code analysis; functional proof-of-concept testing has not been performed.

Affected Files

  • chrome/browser/ui/views/autofill/popup/popup_base_view.cc
  • chrome/browser/ui/views/passwords/password_generation_popup_view_views.cc
  • chrome/browser/ui/views/passwords/password_cross_domain_confirmation_popup_view_views.cc

Recommendation

The overlap checks (BoundsOverlapWithAnyOpenPrompt, BoundsOverlapWithOpenPermissionsPrompt, and BoundsOverlapWithHtmlFormPopup) should be hoisted from PopupViewViews::DoUpdateBoundsAndRedrawPopup() into the base class PopupBaseView::DoUpdateBoundsAndRedrawPopup(). This ensures that all subclasses correctly handle potential collisions with security-sensitive UI elements.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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 base class for password popups omits the overlap checks that its sibling implementation performs, so popups can render above security-sensitive prompts.

Impact

A user could be tricked into granting a browser permission they did not intend to give, though the report notes that no functional proof-of-concept testing has been performed.

What the attacker needed

Compromised renderer process; a browser permission prompt is shown; user interacts with the permission prompt

The fix

The overlap checks should be moved from PopupViewViews into the base class PopupBaseView so that all subclasses handle collisions with security-sensitive UI.

How it was found

  1. Compromise a renderer process through a separate vulnerability.
  2. Trigger a browser permission prompt such as camera or geolocation.
  3. Call ShowPasswordEditingPopup with bounds that overlap the permission bubble.
  4. The password popup appears at the specified location without detecting the collision.
  5. The user is tricked into clicking the exposed 'Allow' button while the origin label is obscured.

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 popup is a small window that appears over the page, like a password suggestion. Normally, the browser hides such popups if they would cover an important security question, such as asking whether to allow camera access. Here, the password popups do not have that hiding rule, so a malicious page could place one over the permission question and make you click the wrong button.

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.