Incorrect security UI in Payments (CVE-2026-11001)
The PaymentSheetViewController bypasses the 500ms input protection window for keyboard events on its primary button, potentially allowing an attacker to trick users into unintentionally authorizing payments or sharing personal information through a timed sequence of keystrokes.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
Flapjack (go/flapjack), an LLM-powered static analysis tool, has identified the following potential security issue.
Overview: The PaymentSheetViewController potentially bypasses the 500ms input protection window for keyboard events on its primary button. This might allow an attacker to trick users into unintentionally authorizing payments or sharing personal information through a timed sequence of keystrokes. This is similar to known 'enterjacking' issues found in other UI components.
Affected files:
chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
Estimated timestamp from git blame: 2025-06-10
Overview
The PaymentSheetViewController is potentially vulnerable to a form of "enterjacking" because it explicitly allows keyboard events to bypass the InputEventActivationProtector safety window.
In chrome/browser/ui/views/payments/payment_sheet_view_controller.cc, the method PossiblyIgnorePrimaryButtonPress is responsible for handling interactions with the primary ("Pay") button. When invoking the input protector, it passes true for allow_key_events:
void PaymentSheetViewController::PossiblyIgnorePrimaryButtonPress(
PaymentRequestSheetController::ButtonCallback callback,
const ui::Event& event) {
if (input_protector_->IsPossiblyUnintendedInteraction(
event, /*allow_key_events=*/true)) {
return;
}
callback.Run(event);
}
By passing /*allow_key_events=*/true, the implementation of the protector (ui/views/input_event_activation_protector.cc) explicitly returns false for any KeyEvent, effectively disabling the 500ms protection interval that is meant to prevent accidental activations immediately after a dialog appears or changes state.
Potential Exploitation Scenario
Because we do not currently have the capability to run a live proof-of-concept, the following steps outline a theoretical attack path based on code analysis:
- Attacker Setup: An attacker creates a malicious webpage designed to induce rapid typing from the user. For instance, a fake game or CAPTCHA that requires the user to repeatedly press the
Tab(orShift+Tab) andEnterkeys in quick succession. - Triggering the UI: While the user is actively typing, the attacker's JavaScript silently initiates a payment request or a request for user information (e.g., via
PaymentRequest.show()). - UI Construction: The browser builds the Payment Request dialog. By design, to prevent immediate accidental
Enterpresses,PaymentRequestSheetController::GetFirstFocusedView()initially focuses the secondary ("Cancel") button, not the primary button. - Focus Shift: The user, following the attacker's rhythmic typing task, presses
Tab(on macOS) orShift+Tab(on non-macOS platforms, due to differences in button creation order inPaymentRequestSheetController::CreateFooterView). This keystroke shifts focus from the secondary button to the primary ("Pay") button. - The Keypress: Continuing the rapid sequence, the user presses
Enterwhile the primary button is focused. This occurs immediately after the dialog has appeared, well within the intended 500ms safety window. - Protection Bypass: The
Enterkey event triggersPaymentSheetViewController::PossiblyIgnorePrimaryButtonPress. Becauseallow_key_eventsis hardcoded totrue,InputEventActivationProtector::IsPossiblyUnintendedInteractionevaluatesif (allow_key_events || !event.IsKeyEvent())and immediately returnsfalse. - Impact: The protection check is bypassed, and the original callback (
PaymentRequestDialogView::Pay()) executes. The payment is immediately authorized, or sensitive Autofill data (PII) is disclosed to the attacker's site before the user can react to the UI change.
This vulnerability appears to be a variant of a known class of input protection bypasses recently fixed in other Chrome components, such as the download bubble.
Evaluated with Chrome root at commit: 3fe82e59ce7e04ce7a87a3df42521b560271cbc0
Results from Flapjack so far have been promising, but it can be wrong in its deductions. At this time, it does not produce proof of concepts or fuzzer tests. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve Flapjack’s accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 code explicitly allows keyboard events to bypass the input protection window by passing true for allow_key_events.
Impact
The protection check is bypassed, and the payment is immediately authorized, or sensitive Autofill data (PII) is disclosed to the attacker's site before the user can react to the UI change.
What the attacker needed
Victim visits attacker's webpage; victim performs rapid typing; payment request dialog appears
How it was found
- Attacker creates a malicious webpage that induces rapid typing (e.g., a fake game or CAPTCHA).
- While the user types, the attacker's JavaScript initiates a payment request.
- The browser builds the Payment Request dialog, initially focusing the secondary (Cancel) button.
- The user presses Tab (or Shift+Tab) to shift focus to the primary (Pay) button.
- The user presses Enter while the primary button is focused, within the 500ms safety window.
- The Enter key event triggers the primary button handler, bypassing the protection and executing the payment callback.
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 payment dialog appears, the browser normally ignores clicks or key presses for half a second to prevent accidental approval. This report says that for keyboard presses, that protection is turned off, so a user could press Enter too quickly and approve a payment without meaning to.
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.