Insufficient validation of untrusted input in Autofill (CVE-2026-11207)
The Buy Now Pay Later payment flow did not validate the scheme of a redirect URL returned by the payments server, allowing a compromised network process to supply a privileged URL such as devtools:// or chrome://. Because the navigation was browser-initiated, this could lead to a network-to-browser sandbox escape.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 40 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 Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The Buy Now Pay Later (BNPL) flow does not validate the scheme of the redirect_url returned from the Google payments server. A compromised network process can supply a privileged URL (e.g., devtools:// or chrome://), which the browser will open as a browser-initiated navigation. This leads to a potential network-to-browser sandbox escape.
Affected files:
components/autofill/core/browser/payments/payments_requests/get_bnpl_payment_instrument_for_fetching_url_request.ccchrome/browser/ui/autofill/payments/desktop_payments_window_manager.ccchrome/browser/ui/autofill/payments/android_payments_window_manager.cccomponents/autofill/core/browser/payments/bnpl_manager.ccchrome/browser/ui/android/autofill/payments/payments_window_bridge.ccchrome/browser/ui/android/ephemeraltab/java/src/org/chromium/chrome/browser/ephemeraltab/EphemeralTabMediator.java
Estimated timestamp from git blame: 2025-02-07
Summary
A vulnerability exists in the Buy Now Pay Later (BNPL) payment flow where the redirect_url provided by the payments server is not validated against a scheme allowlist. Because the subsequent navigation is treated as browser-initiated, an attacker who can modify the network response (e.g., from a compromised sandboxed network process) can force the browser to navigate to highly privileged URL schemes like devtools://, chrome://, or file://. This provides a potential network-to-browser sandbox escape primitive.
Technical Details
- Parsing: When the user initiates a BNPL checkout, the browser sends a
GetBnplPaymentInstrumentForFetchingUrlRequest. The response is parsed inGetBnplPaymentInstrumentForFetchingUrlRequest::ParseResponse()(incomponents/autofill/core/browser/payments/payments_requests/get_bnpl_payment_instrument_for_fetching_url_request.cc). Theredirect_urlstring is extracted and converted to aGURL. - Lack of Validation: The only validation occurs in
IsResponseComplete(), which checksresponse_details_.redirect_url.is_valid().GURL::is_valid()returns true for privileged schemes likedevtools://andchrome://. There is no check to restrict the scheme tohttporhttps. - Propagation: The URL is passed back to
BnplManager::OnRedirectUrlFetched(), which places it into aPaymentsWindowManager::BnplContextand callsGetPaymentsWindowManager()->InitBnplFlow(context). - Navigation (Desktop): In
DesktopPaymentsWindowManager::CreatePopup(), aNavigateParamsobject is constructed with the malicious URL. TheNavigateParamsconstructor defaults tois_renderer_initiated = falseand provides noinitiator_origin. The navigation is executed viaNavigate(¶ms). - Navigation (Android): In
AndroidPaymentsWindowManager::CreateTab(), the flow usesPaymentsWindowBridge::OpenEphemeralTab(), which calls through JNI toPaymentsWindowCoordinator.openEphemeralTab(), explicitly passing a nullinitiatorOriginto the ephemeral tab mediator, which then callsmWebContents.getNavigationController().loadUrl(params). - Sandbox Escape: Because the navigation is browser-initiated, standard security restrictions (like
ChildProcessSecurityPolicychecks for renderer-initiated navigations) are bypassed. The browser successfully opens the privileged URL in a new popup or ephemeral tab.
Potential Attacker Steps
(Note: These are suggested steps based on static analysis.)
- The attacker compromises the Chromium network process (which is sandboxed) or establishes an enterprise MITM position.
- The user initiates a BNPL payment flow via Autofill on a merchant website.
- The attacker intercepts the response from
https://payments.google.com/payments/apis-secure/chromepaymentsservice/getpaymentinstrument. - The attacker modifies the JSON response to inject a malicious scheme into the
get_redirect_url_response_info:"redirect_url": "devtools://..."or"redirect_url": "chrome://...". - The browser parses the response and opens a new popup or tab navigating to the privileged URL, allowing the attacker to interact with powerful internal browser surfaces.
Suggested Fix
Modify GetBnplPaymentInstrumentForFetchingUrlRequest::IsResponseComplete() or ParseResponse() to explicitly require the redirect_url (as well as success_url_prefix and failure_url_prefix) to have an http or https scheme. For example:
bool IsValidBnplUrl(const GURL& url) {
return url.is_valid() && url.SchemeIsHTTPOrHTTPS();
}
Evaluated with Chrome root at commit: 3acbde3302da0cb19488c22c0eb007c791207b4b
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
The code only checked that the redirect URL was syntactically valid, not that its scheme was http or https, and then treated it as a browser-initiated navigation.
Impact
A compromised network process could cause the browser to open a privileged URL, potentially leading to a network-to-browser sandbox escape.
What the attacker needed
Compromised network process or MITM; user initiates BNPL flow
The fix
The redirect URL (and success/failure URL prefixes) should be validated to require an http or https scheme.
How it was found
- The attacker compromises the Chromium network process or establishes an enterprise MITM position.
- The user initiates a BNPL payment flow via Autofill on a merchant website.
- The attacker intercepts the response from the payments server.
- The attacker modifies the JSON response to inject a malicious scheme into the redirect URL.
- The browser parses the response and opens a new popup or tab navigating to the privileged 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.
When you use a 'buy now, pay later' option in Chrome, the browser asks a Google server for a web address to open. The browser did not check what kind of address it was, so a malicious server response could tell it to open a special internal address (like chrome://) that normally only the browser itself can use. This could let an attacker who already controls part of the browser break out of its security sandbox.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.