Insufficient validation of untrusted input in Payments (CVE-2026-7993)
A logic flaw in the Facilitated Payments component allows a compromised renderer to send two HandlePaymentLink Mojo IPCs, swapping the payment URL after the bottom sheet UI is shown. Because the initial UI omits transaction details, the user may unknowingly authorise an attacker-controlled payment.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 33 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 without the security team.
Overview: A potential logic vulnerability exists in the Facilitated Payments component where PaymentLinkManager::TriggerPaymentLinkPushPayment lacks a browser-side re-entrancy guard. A compromised renderer can send multiple HandlePaymentLink Mojo IPCs to silently swap the underlying payment URL after the Chrome bottom sheet UI is presented. Because the initial Chrome UI does not display transaction details, the user may unknowingly authorize an attacker-controlled payment.
Affected files:
components/facilitated_payments/core/browser/payment_link_manager.cccomponents/facilitated_payments/content/browser/content_facilitated_payments_driver.ccchrome/browser/facilitated_payments/ui/android/facilitated_payments_controller.cc
Estimated timestamp from git blame: 2025-10-01
Summary
A logic vulnerability exists in the browser process where PaymentLinkManager::TriggerPaymentLinkPushPayment does not check for an active payment flow before initializing state. By rapidly triggering the HandlePaymentLink Mojo endpoint twice, a compromised renderer can display a payment prompt for a legitimate transaction, and immediately swap the underlying transaction state and UI callbacks to a malicious URL.
Because the initial Chrome Android bottom sheet only displays payment methods and omits transaction details (like amount and recipient), the user is unaware of the swap.
Vulnerability Details
Unlike PixManager::OnPixCodeCopiedToClipboard, which utilizes a has_payflow_started_ boolean to prevent concurrent flows, PaymentLinkManager::TriggerPaymentLinkPushPayment unconditionally resets its state every time it is called:
// components/facilitated_payments/core/browser/payment_link_manager.cc
86: initiate_payment_request_details_ =
87: std::make_unique<FacilitatedPaymentsInitiatePaymentRequestDetails>();
...
90: initiate_payment_request_details_->payment_link_ = payment_link_url.spec();
If a compromised renderer sends two sequential HandlePaymentLink Mojo IPCs:
- The first call initializes the state with a legitimate URL and shows the Chrome bottom sheet via
FacilitatedPaymentsController::ShowForPaymentLink. - The second call executes synchronously. It replaces
initiate_payment_request_details_with the malicious URL and triggers the UI display again.
In FacilitatedPaymentsController::ShowForPaymentLink, the new callback simply overwrites the old one:
// chrome/browser/facilitated_payments/ui/android/facilitated_payments_controller.cc
65: on_fop_selected_ = std::move(on_fop_selected);
The Android UI detects the sheet is already open and swaps the view seamlessly in-place. When the user taps a payment method, the new callback executes, writing the selected instrument ID into the swapped initiate_payment_request_details_ and sending the attacker's URL to the Google Pay backend.
Suggested Steps to Reproduce
Note: These are potential steps to reproduce the issue. Our tooling agent does not yet have the ability to run code or execute a working proof of concept.
- An attacker compromises the renderer of an origin on the Facilitated Payments allowlist.
- The compromised renderer invokes the
HandlePaymentLinkMojo endpoint with a legitimate, low-value URL (e.g., $1.00). - Chrome displays the payment method selection bottom sheet.
- Before the user interacts, the renderer invokes
HandlePaymentLinkagain with a high-value, attacker-controlled URL sharing the same scheme. - Chrome synchronously overwrites the browser-side transaction state and UI callback. The Android UI updates in place unnoticeably.
- The user selects a payment method, believing they are authorizing the $1.00 transaction.
- Chrome requests a transaction token from the backend for the malicious URL.
- The user is presented with the final Google Play Services prompt. Although this prompt displays the correct (malicious) amount and recipient, the user is highly habituated to click "Confirm" immediately, as they just initiated a transaction in the browser.
Suggested Fix
Introduce a state check in PaymentLinkManager::TriggerPaymentLinkPushPayment to act as a re-entrancy guard, similar to PixManager.
For example, add a has_payflow_started_ boolean flag that is checked at the top of the function. If true, the method should return early or explicitly cancel/reset the ongoing flow before initializing the new request. This ensures the UI state and underlying network request details remain perfectly synchronized.
Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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.
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 lack of a re-entrancy guard in PaymentLinkManager::TriggerPaymentLinkPushPayment, which unconditionally resets state on each call, allowing a second call to overwrite the payment URL and UI callback.
Impact
A compromised renderer could cause the user to authorise a payment to an attacker-controlled URL, though the final Google Play Services prompt does display the correct amount and recipient.
What the attacker needed
Compromised renderer; origin on Facilitated Payments allowlist; user interacts with payment sheet
The fix
Introduce a state check in PaymentLinkManager::TriggerPaymentLinkPushPayment to act as a re-entrancy guard, similar to PixManager.
How it was found
- An attacker compromises the renderer of an origin on the Facilitated Payments allowlist.
- The compromised renderer invokes the HandlePaymentLink Mojo endpoint with a legitimate, low-value URL.
- Chrome displays the payment method selection bottom sheet.
- Before the user interacts, the renderer invokes HandlePaymentLink again with a high-value, attacker-controlled URL sharing the same scheme.
- Chrome synchronously overwrites the browser-side transaction state and UI callback, and the Android UI updates in place unnoticeably.
- The user selects a payment method, believing they are authorizing the $1.00 transaction, and Chrome requests a transaction token for the malicious URL.
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.
This is about a payment feature in Chrome on Android. A malicious webpage could trick the browser into changing the payment details after showing a confirmation screen, so the user thinks they are paying one amount but actually pay another.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.