Missing authorization in WebView (CVE-2026-87534)
The Android WebView content restriction throttle only classifies the initial request URL and does not check redirect targets, so a navigation from an allowed origin can redirect to a restricted URL and load it. An attacker could use an allowed redirector to reach content that the platform policy is meant to block.
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 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 AwContentRestrictionURLLoaderThrottle fails to override the WillRedirectRequest method, which allows server-side redirects to bypass content classification checks. This enables access to restricted URLs if they are reached via a redirect from an allowed origin.
Affected files:
android_webview/browser/content_restriction/aw_content_restriction_url_loader_throttle.ccandroid_webview/browser/content_restriction/aw_content_restriction_url_loader_throttle.h
Estimated timestamp from git blame: 2026-03-30
Description
The AwContentRestrictionURLLoaderThrottle class is responsible for enforcing platform-level content restrictions in Android WebView (e.g., for supervised users). Currently, the implementation only performs URL classification during the initial request phase within WillStartRequest().
However, the class does not override WillRedirectRequest(). In the Chromium network stack, when a server responds with a redirect (e.g., HTTP 302), the ThrottlingURLLoader invokes WillRedirectRequest on all registered throttles. Since AwContentRestrictionURLLoaderThrottle uses the default base class implementation, which is a no-op, the redirected URL is never sent for classification. This allows a navigation to proceed to a restricted URL as long as it originates from an allowed redirector.
This issue affects the kWebViewContentRestrictionSupport feature. While this feature is currently disabled by default, it is intended to provide critical platform-level security and parental control enforcement for WebView-based applications.
Potential Root Cause
In android_webview/browser/content_restriction/aw_content_restriction_url_loader_throttle.cc, classification is only initiated in WillStartRequest:
void AwContentRestrictionURLLoaderThrottle::WillStartRequest(
network::ResourceRequest* request, bool* defer) {
if (navigation_id_.has_value() &&
content_restriction_manager_client_->IsContentRestrictionEnabled()) {
*defer = true;
content_restriction_manager_client_->RequestContentClassification(
navigation_id_.value(), *request,
base::BindOnce(&AwContentRestrictionURLLoaderThrottle::OnClassificationResult,
weak_ptr_factory_.GetWeakPtr()));
}
}
Because WillRedirectRequest is not overridden, the throttle does not defer or check subsequent URLs in the redirect chain. Consequently, the redirect target is loaded without being validated against the platform's content restriction policy.
Suggested Attack Steps
An attacker could potentially bypass content restrictions using the following steps (not verified with a running PoC):
- Identify a URL that is allowed by the content restriction policy (e.g.,
https://allowed.example). - Set up a server-side redirect on that allowed origin (or use a known open redirector) that points to a restricted destination (e.g.,
https://restricted.example/content). - Navigate the WebView to the allowed redirector URL.
- Observe that the WebView follows the redirect and loads the restricted content because the throttle only validated the initial
allowed.exampleURL.
Suggested Fix
The AwContentRestrictionURLLoaderThrottle class should override WillRedirectRequest and implement classification logic similar to WillStartRequest. It should defer the redirect and invoke RequestContentClassification for the new URL provided in the RedirectInfo.
File: android_webview/browser/content_restriction/aw_content_restriction_url_loader_throttle.cc and .h
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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 throttle only performs URL classification in WillStartRequest and does not override WillRedirectRequest, so redirect targets are never classified.
Impact
A navigation could bypass platform-level content restrictions and load a restricted URL, but the feature is disabled by default and the attack steps were not verified with a running proof of concept.
What the attacker needed
Content restriction feature enabled; an allowed origin or open redirector; victim navigates WebView to redirector
The fix
The throttle should override WillRedirectRequest and classify the redirect target in the same way as the initial request.
How it was found
- Identify a URL allowed by the content restriction policy.
- Set up a server-side redirect on that allowed origin, or use a known open redirector, pointing to a restricted destination.
- Navigate the WebView to the allowed redirector URL.
- Observe that the WebView follows the redirect and loads the restricted content.
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.
Android WebView is a component apps use to show web pages inside the app. A content restriction feature is meant to stop certain pages from loading, for example for supervised users. This report says the check only happens on the first address, so if that address redirects to a blocked page, the blocked page is loaded without being checked.
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.