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

UI misrepresentation in FedCM (CVE-2026-87462)

The FedCM account selection bubble does not restart its 500ms click-protection delay when it is re-shown after being hidden by the tab dialog manager. An attacker could hide and quickly re-show the bubble via a tab switch so that a user's click is accepted immediately, potentially causing unintended account selection and identity disclosure.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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: The FedCM account selection bubble fails to re-arm its clickjacking protection delay when re-shown after being hidden by the TabDialogManager. This allows an attacker to bypass the mandatory 500ms interaction delay by hiding and then immediately re-showing the bubble via a tab switch. An attacker could exploit this to trick a user into unintended account selection and identity disclosure.

Affected files:

  • chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc
  • chrome/browser/ui/tabs/tab_dialog_manager.cc
  • ui/views/input_event_activation_protector.cc

Estimated timestamp from git blame: 2025-08-29

Technical Analysis

The FedCmAccountSelectionView on desktop fails to re-arm the InputEventActivationProtector when the account selection bubble is re-shown after being hidden by the TabDialogManager (e.g., during a tab switch). This creates a vulnerability where the 500ms protective delay against unintended interactions is not enforced upon the bubble's reappearance.

In FedCmAccountSelectionView::UpdateDialogVisibilityAndPosition() (chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc), the logic for showing the dialog is as follows:

C++
if (!dialog_widget_->IsVisible() && !IsDialogManaged(dialog_widget_.get())) {
  ShowDialogWidget();
}
UpdateDialogVisibility(true);

The ShowDialogWidget() method is responsible for calling input_protector_->VisibilityChanged(true), which updates the protection timestamp to the current time, ensuring a 500ms delay before inputs are accepted.

However, when a tab containing a FedCM bubble is hidden (e.g., when a user opens a new tab) and then re-shown, IsDialogManaged() returns true. This causes UpdateDialogVisibilityAndPosition() to skip the call to ShowDialogWidget(). Instead, it calls UpdateDialogVisibility(true), which makes the widget visible via the TabDialogManager but does not notify the input_protector_ that visibility has changed.

Consequently, the InputEventActivationProtector continues to use the timestamp from the bubble's original appearance. If more than 500ms have elapsed since that initial show, any interaction with the re-appeared bubble is accepted immediately upon its return to the foreground.

Secondary defenses, such as the WindowsStationarityMonitor, are also bypassed in this scenario. Because the browser window's bounds remain unchanged and no WindowTreeHost is created or destroyed during a simple tab-switch cycle, the monitor does not detect a lack of stationarity and fails to trigger a timestamp update.

Potential Step-by-Step Reproduction

  1. Initial Request: A user navigates to an attacker-controlled site that triggers a FedCM account selection bubble.
  2. Wait: The attacker site waits for at least 500ms to ensure the initial protection interval has passed.
  3. Tab Switch: The attacker site opens a new foreground tab in the same window (requiring a user gesture). The TabDialogManager hides the FedCM bubble in the now-background tab.
  4. Decoy Interaction: The new tab displays a decoy button at the same screen coordinates as an account selection row in the original FedCM bubble.
  5. Trigger Re-show: The attacker site closes the foreground tab (e.g., via window.close()) just as the user is expected to click the decoy.
  6. Clickjacking: The original tab gains focus and the FedCM bubble is re-shown. The user's click lands on the re-shown bubble and is processed immediately, bypassing the intended security delay and disclosing the user's identity to the attacker.

Suggested Fix

Ensure that input_protector_->VisibilityChanged(true) is called whenever the dialog's visibility is set to true, regardless of whether it is managed by the TabDialogManager. A potential fix would be to move the VisibilityChanged(true) call into UpdateDialogVisibility(true) or ensure it is called explicitly in UpdateDialogVisibilityAndPosition whenever the dialog is about to be re-shown.

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 re-show path calls UpdateDialogVisibility(true) without calling ShowDialogWidget(), so the input protector's timestamp is never refreshed when the dialog is managed by the TabDialogManager.

Impact

An attacker could trick a user into unintended account selection and identity disclosure, though the attack requires a user gesture to open the new tab and relies on precise click timing.

What the attacker needed

Victim visits attacker site; user gesture to open a new tab; precise click timing

The fix

The input protector's visibility change should be signalled whenever the dialog is set visible, for example by moving the call into UpdateDialogVisibility(true).

How it was found

  1. A user visits an attacker-controlled site that triggers a FedCM account selection bubble.
  2. The site waits at least 500ms so the initial protection interval has passed.
  3. The site opens a new foreground tab, which hides the FedCM bubble in the background tab.
  4. The new tab shows a decoy button at the same screen coordinates as an account row in the bubble.
  5. The site closes the foreground tab so the original tab regains focus and the bubble is re-shown.
  6. The user's click lands on the re-shown bubble and is processed immediately, disclosing the user's identity.

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 a sign-in pop-up appears, the browser normally ignores clicks for half a second so you cannot be tricked into clicking it by accident. Here, if the pop-up is hidden and brought back by switching tabs, that waiting period is not restarted. Someone could line up a fake button so your click lands on the real pop-up and picks an account you did not mean to choose.

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.