Skip to content
UI spoofing Advisory Intermediate CVE-2026-14144

Incorrect security UI in Views (CVE-2026-14144)

The Digital Identity safety interstitial in Chrome focuses the 'Continue' button by default and allows key events to bypass the 500ms input protection window. A malicious site could trick a user into pressing Enter or Space during rapid keystrokes, accidentally accepting the dialog and skipping the security warning.

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: A malicious website can potentially bypass the Digital Identity safety interstitial on desktop by tricking a user into accidentally accepting the dialog via rapid keystrokes. This is due to the 'Continue' button being focused by default and a lack of key-event input protection in the dialog host.

Affected files:

  • chrome/browser/ui/views/digital_credentials/digital_identity_safety_interstitial_controller_desktop.cc
  • ui/views/bubble/bubble_dialog_model_host.cc
  • ui/views/input_event_activation_protector.cc

Estimated timestamp from git blame: 2025-07-07

Background

The Digital Identity API (navigator.credentials.get({digital: ...})) is used by websites to request sensitive information from a user's digital wallet. On desktop, Chrome displays a safety interstitial (a modal security warning) to ensure the user is aware of the risks before proceeding with a cross-device request (e.g., scanning a QR code).

The Issue

A potential vulnerability in the desktop implementation of this interstitial allows a malicious site to bypass the warning through a 'keyjacking' attack.

  1. Initially Focused Button: In DigitalIdentitySafetyInterstitialControllerDesktop::ShowInterstitialImpl, the dialog is constructed using ui::DialogModel and explicitly sets the initial focus to the 'Continue' button: .SetInitiallyFocusedField(kContinueButtonId); (digital_identity_safety_interstitial_controller_desktop.cc:162).

  2. Input Protection Bypass: The dialog is hosted by views::BubbleDialogModelHost, which inherits the default behavior of views::DialogDelegate::ShouldAllowKeyEventsDuringInputProtection(). This default implementation returns true (dialog_delegate.cc:249).

  3. Protector Logic: When a user interaction occurs, views::InputEventActivationProtector::IsPossiblyUnintendedInteraction() is called to prevent accidental interactions immediately after a dialog appears (within a ~500ms window). However, the protector explicitly allows key events to bypass this time-gate if the delegate's allow_key_events is set to true:

    C++
    if (!event.IsMouseEvent() && !event.IsTouchEvent() && !event.IsGestureEvent()) {
      if (allow_key_events || !event.IsKeyEvent()) {
        return false; // Bypasses the 500ms safety interval
      }
    }
    

    (input_event_activation_protector.cc:60).

Consequently, any non-repeat key event (such as pressing Enter or Space) is processed immediately upon the dialog's appearance, bypassing the guard designed to ensure informed user consent.

Potential Attack Scenario

  1. A malicious page induces the user to perform rapid keystrokes (e.g., via a fake 'type-to-win' game or CAPTCHA requiring repeated Enter presses).
  2. During this activity, the page calls navigator.credentials.get({digital: ...}), consuming the transient user activation requirement.
  3. The browser process displays the Digital Identity safety interstitial.
  4. The 'Continue' button receives keyboard focus the instant the dialog appears due to the SetInitiallyFocusedField configuration.
  5. The user's next keystroke (intended for the attacker's page) is instead delivered to the focused 'Continue' button.
  6. The InputEventActivationProtector allows the interaction immediately, bypassing the safety interval.
  7. The dialog is dismissed, and the browser proceeds to the next step (e.g., displaying a QR code for a mobile wallet), having bypassed the safety warning without the user's informed consent.

Note: These steps are suggested based on code analysis; our current environment does not support running live proof-of-concept code.

Impact

While this bypass allows skipping the browser's safety warning, the overall impact is mitigated by the fact that the user must still complete the subsequent flow (e.g., scanning a QR code on a mobile device and approving the request in a wallet app). However, bypassing a primary security interstitial is considered a Medium (S2) severity issue in Chrome.

Suggested Fix

The host for the Digital Identity safety interstitial should ensure that ShouldAllowKeyEventsDuringInputProtection() returns false. This ensures that key events are subject to the same 500ms input protection interval as mouse events, preventing accidental dismissal.

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 dialog host does not override ShouldAllowKeyEventsDuringInputProtection to return false, so key events bypass the 500ms input protection interval, combined with the 'Continue' button being focused by default.

Impact

The bypass allows skipping the browser's safety warning, but the overall impact is mitigated because the user must still complete the subsequent flow (e.g., scanning a QR code and approving in a wallet app).

What the attacker needed

Victim performs rapid keystrokes; malicious website; user interaction required

The fix

The host for the Digital Identity safety interstitial should ensure that ShouldAllowKeyEventsDuringInputProtection() returns false.

How it was found

  1. A malicious page induces the user to perform rapid keystrokes (e.g., via a fake 'type-to-win' game or CAPTCHA requiring repeated Enter presses).
  2. During this activity, the page calls navigator.credentials.get({digital: ...}), consuming the transient user activation requirement.
  3. The browser process displays the Digital Identity safety interstitial.
  4. The 'Continue' button receives keyboard focus the instant the dialog appears due to the SetInitiallyFocusedField configuration.
  5. The user's next keystroke (intended for the attacker's page) is instead delivered to the focused 'Continue' button.
  6. The InputEventActivationProtector allows the interaction immediately, bypassing the safety interval.

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 website asks to use your digital wallet, Chrome shows a warning dialog to make sure you understand the risk. This report found that the dialog's 'Continue' button is already selected, and the dialog accepts keyboard presses immediately, so if you happen to press Enter right as it appears, you might accept the warning without meaning to. The attacker just needs to get you typing quickly before triggering the dialog.

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.