Skip to content
Business logic Advisory Advanced CVE-2026-87635

UI misrepresentation in Payments (CVE-2026-87635)

A logic flaw in Chrome for Android's Secure Payment Confirmation flow causes the trusted dialog to show the raw payment total while the signed clientDataJSON uses a modifier-adjusted total. An attacker could display a low amount to the user while obtaining a signature for a much larger amount.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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: A potential logic flaw in Chrome for Android allows a malicious website to bypass the What-You-See-Is-What-You-Sign (WYSIWYS) guarantee of Secure Payment Confirmation (SPC). The trusted Android SPC dialog displays the raw, unmodified payment total, while the cryptographically-signed clientDataJSON uses a modifier-adjusted total. This discrepancy could allow an attacker to display a benign transaction total to the user while obtaining a signature for a much larger amount.

Affected files:

  • chrome/android/java/src/org/chromium/chrome/browser/payments/ChromePaymentRequestService.java
  • components/payments/content/android/java/src/org/chromium/components/payments/PaymentRequestSpec.java
  • components/payments/content/secure_payment_confirmation_app.cc
  • components/payments/content/payment_request_spec.cc

Estimated timestamp from git blame: 2021-06-30

Description

There is a potential What-You-See-Is-What-You-Sign (WYSIWYS) bypass vulnerability in Chrome for Android's Secure Payment Confirmation (SPC) flow. The flaw stems from an inconsistency between how the transaction total is retrieved for display on the trusted UI versus how it is retrieved for cryptographic signing.

1. Display Path (Android UI)

In chrome/android/java/src/org/chromium/chrome/browser/payments/ChromePaymentRequestService.java, the SPC bottom-sheet dialog is shown using the raw total obtained from the spec:

Java
mSpcController = new SecurePaymentConfirmationController(
        windowAndroid,
        ...,
        mSpec.getRawTotal(), // <-- Raw total
        ...);

PaymentRequestSpec.java implements getRawTotal() by returning getPaymentDetails().total which refers to the root details_.total object and completely ignores any payment modifiers.

2. Signing Path (C++ WebAuthn / Assertion)

In contrast, the C++ code that prepares the transaction details for cryptographic signing inside components/payments/content/secure_payment_confirmation_app.cc retrieves the total using spec_->GetTotal(this):

C++
authenticator_->SetPaymentOptions(blink::mojom::PaymentOptions::New(
    spec_->GetTotal(/*selected_app=*/this)->amount.Clone(), // <-- Modifier-adjusted total
    std::move(instrument), request_->payee_name, request_->payee_origin,
    std::move(payment_entities_logos),
    std::move(browser_bound_public_key)));

PaymentRequestSpec::GetTotal (defined in components/payments/content/payment_request_spec.cc) resolves the total by searching for applicable modifiers matching the selected app's supported methods (which includes "secure-payment-confirmation"). If a modifier total is found, it overrides the raw total and is serialized into the clientDataJSON WebAuthn payload.

Because of this discrepancy, an attacker can specify a low total (e.g. $1.00) in the raw payment details, and override it with a high total (e.g. $9999.99) in a modifier targeting "secure-payment-confirmation". The user is shown $1.00 on the trusted Chrome UI, but cryptographically signs an assertion for $9999.99.

Suggested/Potential Trigger Path

Note: These are potential steps based on source code analysis; our tooling does not currently have the capability to run code to confirm.

An attacker could theoretically trigger this behavior via the following steps:

  1. On Chrome for Android, navigate to an attacker-controlled HTTPS page.

  2. Execute a payment request targeting SPC that provides both a benign total and an SPC modifier specifying a malicious total:

    JavaScript
    const pr = new PaymentRequest([
      {
        supportedMethods: 'secure-payment-confirmation',
        data: { rpId: 'rp.example', credentialIds: [id], challenge, payeeOrigin: 'https://merchant.example', instrument: { displayName: 'Card', icon: 'https://.../i.png' } }
      }],
      {
        total: { label: 'Total', amount: { currency: 'USD', value: '1.00' } },
        modifiers: [{
          supportedMethods: 'secure-payment-confirmation',
          total: { label: 'Total', amount: { currency: 'USD', value: '9999.99' } }
        }]
      }
    );
    const resp = await pr.show();
    
  3. The user is presented with Chrome's trusted SPC bottom sheet showing a total of USD 1.00.

  4. When the user taps Continue and performs verification, the browser initiates the WebAuthn assertion signature over a clientDataJSON containing payment.total = {"value":"9999.99","currency":"USD"}.

  5. The merchant page receives a valid, cryptographically-signed assertion for the malicious amount.

Suggested Fix

Since SPC is designed as an explicit confirmation tool, payment modifiers (which are designed for dynamic pricing based on payment instruments) are out-of-scope and should not be allowed.

We recommend rejecting the request in ValidateSecurePaymentConfirmationRequest inside components/payments/content/payment_request.cc if details.modifiers contains any modifier targeting "secure-payment-confirmation" (or if modifiers are provided at all). Alternatively, ensure the Android UI retrieves the exact same modifier-adjusted total as the C++ signing path via spec_->GetTotal(app).

Evaluated with Chrome root at commit: b2fea2e31df308d0f04e4ae47def4c4f939ee141


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

The Android UI reads the raw total from the payment spec, while the signing code resolves the total through payment modifiers, so the two paths can disagree.

Impact

An attacker could show a benign total to the user while obtaining a signature for a much larger amount, breaking the WYSIWYS guarantee of SPC.

What the attacker needed

Chrome for Android; victim visits attacker-controlled HTTPS page; victim completes SPC verification

The fix

The report recommends rejecting SPC requests that contain payment modifiers, or alternatively making the Android UI use the same modifier-adjusted total as the signing path.

How it was found

  1. On Chrome for Android, navigate to an attacker-controlled HTTPS page.
  2. Execute a payment request targeting SPC that provides both a benign total and an SPC modifier specifying a malicious total.
  3. The user is presented with Chrome's trusted SPC bottom sheet showing a total of USD 1.00.
  4. When the user taps Continue and performs verification, the browser initiates the WebAuthn assertion signature over a clientDataJSON containing the malicious total.
  5. The merchant page receives a valid, cryptographically-signed assertion for the malicious amount.

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.

Secure Payment Confirmation is a browser feature that shows a trusted dialog so you can confirm a payment. This report says the dialog could show one amount while the digital signature actually covers a different, larger amount. That means a user might approve a small payment but sign off on a much bigger one.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.