Improper input validation in Interstitials (CVE-2026-87599)
A logic error in Chrome's insecure form warning check fails to recognise HTTPS origins that are opaque, such as sandboxed pages, so the submission-time interstitial is skipped. A malicious HTTPS page could host a sandboxed form that sends sensitive data over plain HTTP without the expected warning.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 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 logic error in IsInsecureFormActionOnSecureSource fails to correctly identify secure origins when they are opaque, such as in sandboxed contexts. This allows an HTTPS page to potentially submit form data to an insecure HTTP endpoint without triggering the expected security interstitial warning.
Affected files:
components/security_interstitials/core/insecure_form_util.cccomponents/security_interstitials/content/insecure_form_navigation_throttle.cc
Estimated timestamp from git blame: 2020-10-06
Summary
Chrome's InsecureFormNavigationThrottle is designed to protect users by displaying an interstitial warning when a secure (HTTPS) page attempts to submit a form to an insecure (HTTP) URL. This protection can potentially be bypassed if the initiating document has an opaque origin (e.g., due to a Content-Security-Policy: sandbox header or being inside a sandboxed <iframe>).
Technical Details
The issue resides in how the browser-side utility function IsInsecureFormActionOnSecureSource evaluates whether the initiator is a secure source. It checks the scheme of the origin directly using source_origin.scheme():
// components/security_interstitials/core/insecure_form_util.cc:44
bool IsInsecureFormActionOnSecureSource(const url::Origin& source_origin,
const GURL& action_url) {
if (!base::EqualsCaseInsensitiveASCII(source_origin.scheme(),
url::kHttpsScheme)) {
// On non-iOS platforms, returns false if scheme is not https
return false;
}
return IsInsecureFormAction(action_url);
}
For an opaque origin, url::Origin::scheme() is defined to return an empty string (url/origin.h:226-228), even if the origin has an HTTPS precursor. Consequently, the check source_origin.scheme() == url::kHttpsScheme fails, the function returns false, and the InsecureFormNavigationThrottle permits the navigation to proceed without showing the warning interstitial (components/security_interstitials/content/insecure_form_navigation_throttle.cc:132-136).
Impact
In its default configuration, Chrome does not degrade the 'SECURE' lock icon for mixed forms, relying instead on the submission-time interstitial to warn users. Because this interstitial is bypassed for opaque origins, a malicious HTTPS site could host a sandboxed page that appears secure but transmits sensitive user data (e.g., passwords or payment information) over unencrypted HTTP. Passive network observers could then intercept this data. Other protections, such as HttpsUpgradesInterceptor, do not apply to POST requests, and browser-side mixed content checks typically exempt main-frame navigations.
Potential Reproduction Steps
- Host a page over HTTPS with the following header:
Content-Security-Policy: sandbox allow-forms allow-scripts. - Include a form targeting an HTTP endpoint:
<form method='POST' action='http://example.com/collect'><input type='password' name='p' value='secret'></form>. - Trigger the form submission (e.g., via user interaction or script).
- Observe that the navigation proceeds directly over HTTP without a security interstitial, while the omnibox continues to display the secure lock icon.
Note: These steps are based on static code analysis; our tooling does not currently have the capability to run code to confirm the behavior.
Suggested Fix
The check in IsInsecureFormActionOnSecureSource should consider the precursor origin for opaque origins. This can be achieved by using GetTupleOrPrecursorTupleIfOpaque() instead of scheme(), which would align the browser-side logic with Blink's MixedContentChecker:
if (!base::EqualsCaseInsensitiveASCII(source_origin.GetTupleOrPrecursorTupleIfOpaque().scheme(),
url::kHttpsScheme)) {
return false;
}
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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 check compares the origin's scheme directly, but an opaque origin reports an empty scheme even when it came from an HTTPS page, so the function wrongly returns false.
Impact
A malicious HTTPS site could host a sandboxed page that appears secure but sends sensitive data over unencrypted HTTP, where a passive network observer could intercept it; the report notes this is based on static analysis and was not confirmed by running code.
What the attacker needed
Victim visits a malicious HTTPS page; victim submits a form on that page; passive network observer to intercept
The fix
The check should use the precursor origin for opaque origins, for example via GetTupleOrPrecursorTupleIfOpaque(), to match Blink's mixed content logic.
How it was found
- Host an HTTPS page that sends a sandboxing Content-Security-Policy header allowing forms and scripts.
- Include a form that posts to an HTTP endpoint.
- Trigger the form submission.
- Observe the navigation going over HTTP with no interstitial while the lock icon stays secure.
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 secure web page tries to send form data to an insecure address, Chrome normally shows a warning page. This report says that warning can be skipped if the page is placed in a restricted 'sandbox', which hides its real address from the check. An attacker could then quietly send passwords or payment details over an unencrypted connection.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.