Inappropriate implementation in Payments (CVE-2026-11245)
Relative URLs in a payment method manifest's default_applications field were resolved against the merchant-supplied pre-redirect URL rather than the post-redirect manifest location. A malicious merchant could therefore cause the browser to install a different, same-origin payment handler, such as an older vulnerable version.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: In InstallablePaymentAppCrawler, relative URLs in the default_applications field of a payment method manifest are incorrectly resolved against the original merchant-supplied URL instead of the post-redirect URL where the manifest was actually fetched. This violates W3C specifications and allows a malicious merchant to cause the browser to install an unintended, same-origin payment handler, potentially enabling version downgrade attacks.
Affected files:
components/payments/content/installable_payment_app_crawler.cccomponents/payments/content/utility/payment_manifest_parser.cc
Estimated timestamp from git blame: 2020-04-15
Summary
A logic error in InstallablePaymentAppCrawler causes relative URLs in the default_applications field of a payment method manifest to be resolved against the original, pre-redirect URL provided by the merchant instead of the manifest's actual location. This violates the W3C Payment Method Manifest spec and enables a same-origin path confusion attack.
Technical Details
When InstallablePaymentAppCrawler crawls a merchant-supplied payment method URL, it uses PaymentManifestDownloader to follow up to three same-site HTTP redirects and locate the manifest via the Link: rel=payment-method-manifest header.
In components/payments/content/installable_payment_app_crawler.cc:145-146, the code calls parser_->ParsePaymentMethodManifest using method_manifest_url (the original merchant-supplied URL) as the base URL for resolution:
145: parser_->ParsePaymentMethodManifest(
146: method_manifest_url, content,
Inside PaymentManifestParser::ParsePaymentMethodManifestIntoVectors -> ParseDefaultApplications (in components/payments/content/utility/payment_manifest_parser.cc:109), relative entries in the default_applications list are then resolved against this incorrect base URL:
109: GURL url = manifest_url.Resolve(*item);
While a subsequent check at installable_payment_app_crawler.cc:190-200 ensures the resolved URL is same-origin with method_manifest_url_after_redirects, it does not prevent path confusion within that origin. This allows a malicious merchant to control the path used for resolving the web app manifest, provided the target is on the same origin as the legitimate payment manifest.
Impact
This flaw allows for version confusion or denial of service (DoS) for just-in-time (JIT) payment handler installation. For instance, if a provider has an old, vulnerable payment handler hosted at a relative path on the same origin, a malicious merchant can cause the browser to install it instead of the secure, updated version.
Potential Attack Steps
Note: These steps are theoretical as our tooling agent does not run code to provide a working PoC.
- Provider Setup: A legitimate payment provider has an old endpoint
https://bank.test/v1/paythat redirects to a new endpointhttps://bank.test/v2/pay. - Provider Manifests: The provider hosts a secure payment handler web app manifest at
https://bank.test/v2/app.jsonand has an older, vulnerable version athttps://bank.test/v1/app.json. - Link Header Emission: A request to the new endpoint
https://bank.test/v2/payreturns an HTTP response containing aLinkheader that points to the manifest:Link: <manifest.json>; rel="payment-method-manifest". - Manifest Content: The manifest located at
https://bank.test/v2/manifest.jsoncontains a relative URL in itsdefault_applicationslist:{"default_applications": ["app.json"]}. - Malicious Merchant Execution: An attacker sets up a malicious merchant website that explicitly calls
new PaymentRequest([{supportedMethods: "https://bank.test/v1/pay"}], ...).show(). - Incorrect Resolution: The browser follows the redirect to
v2and downloadsmanifest.json. However, it incorrectly resolves the relative URLapp.jsonagainst the original URLhttps://bank.test/v1/pay. - Exploit Realized: The browser fetches and installs the vulnerable payment handler from
https://bank.test/v1/app.jsoninstead of the secure one athttps://bank.test/v2/app.json.
Suggested Fix
In components/payments/content/installable_payment_app_crawler.cc:145-146, pass method_manifest_url_after_redirects as the base URL to ParsePaymentMethodManifest instead of method_manifest_url.
parser_->ParsePaymentMethodManifest(
method_manifest_url_after_redirects, content,
base::BindOnce(
&InstallablePaymentAppCrawler::OnPaymentMethodManifestParsed,
weak_ptr_factory_.GetWeakPtr(), method_manifest_url,
method_manifest_url_after_redirects, content));
Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0
Results from 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
The manifest parser was given the original merchant-supplied URL as the base for resolving relative entries, instead of the URL the manifest was actually fetched from after redirects.
Impact
A malicious merchant could cause version confusion or denial of service for just-in-time payment handler installation, though the resolved URL must still be same-origin with the legitimate manifest.
What the attacker needed
Victim visits attacker's merchant site; provider has old handler on same origin; provider endpoint redirects to new path
The fix
The parser should be passed the post-redirect manifest URL as the base for resolving relative entries.
How it was found
- A payment provider has an old endpoint that redirects to a newer one, with an older app manifest on the old path and a secure one on the new path.
- The new endpoint returns a Link header pointing to a relative manifest path.
- That manifest lists a relative entry in default_applications.
- An attacker's merchant site requests payment via the old provider URL.
- The browser follows the redirect and downloads the manifest, but resolves the relative entry against the old URL.
- The browser installs the older payment handler from the old path instead of the secure one.
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.
A payment method manifest is a small file that tells the browser where to find the code for a payment app. When a link inside that file is relative, the browser must decide which web address to attach it to. Here it attached it to the wrong address, so the browser could download a different app from the same website than the one intended.
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.