Insufficient validation of untrusted input in Reading List (CVE-2026-11272)
Three logic bugs in the iOS Reading List distiller allow a reflected HTML tag on a Google domain to make a background WebState navigate to privileged chrome:// WebUI pages. An attacker could then extract and save the content of those pages to the user's Reading List.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 53 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.
Overview: Logic bugs in the iOS Reading List distiller allow navigation to arbitrary schemes (including chrome://). A broken path check in IsGoogleCachedAMPPage combined with missing scheme validation allows any reflected HTML on google.com to trigger a WebUI navigation, bypassing the hasOpener security guard.
Affected files:
ios/chrome/browser/reading_list/model/reading_list_distiller_page.mmios/web/web_state/ui/crw_web_request_controller.mmios/chrome/browser/reading_list/model/favicon_web_state_dispatcher_impl.mm
Estimated timestamp from git blame: 2025-10-02
Description
A potential privilege escalation vulnerability exists in the iOS Reading List distillation process. Due to three interconnected logic bugs, an attacker who can reflect a specific HTML tag on www.google.com (or another valid Google domain) can force a hidden background WebState to navigate to and 'distill' internal chrome:// WebUI pages.
Bug 1: Broken Path Validation in IsGoogleCachedAMPPage
In ios/chrome/browser/reading_list/model/reading_list_distiller_page.mm, the function IsGoogleCachedAMPPage is designed to detect Google-cached AMP pages to apply a workaround. However, the path validation is broken:
if (!google_util::IsGoogleDomainUrl(...) ||
!url.GetPath().compare(0, 4, "amp/")) {
return false;
}
Because GURL::GetPath() always returns a string starting with a leading slash (e.g., /amp/), comparing it against amp/ at index 0 always returns non-zero. The logical NOT (!) operator then converts this to false. Consequently, the if condition fails to trigger the early return, and the function incorrectly returns true for any HTTPS page on a Google domain (like www.google.com), not just AMP pages.
Bug 2: Missing Scheme Validation for Script-Extracted URLs
When IsGoogleCachedAMPPage returns true, the distiller executes kGetIframeURLJavaScript to find a <link rel="amphtml"> tag or an <iframe> and extracts its URL. The result is handled in OnHandleGoogleCachedAMPPageResult:
GURL new_gurl(value->GetString());
if (new_gurl.is_valid()) {
FetchFavicon(new_gurl);
web::NavigationManager::WebLoadParams params(new_gurl);
CurrentWebState()->GetNavigationManager()->LoadURLWithParams(params);
The code relies solely on is_valid() and fails to validate the URL scheme (e.g., ensuring it is http or https). Because LoadURLWithParams treats this as a browser-initiated navigation, it is permitted to target privileged schemes like chrome://.
Bug 3: WebUI Guard Bypass
In ios/web/web_state/ui/crw_web_request_controller.mm, a security check exists to prevent non-user-initiated DOM navigations to WebUI pages:
if (!(item->GetTransitionType() & ui::PAGE_TRANSITION_TYPED ...) &&
self.hasOpener) {
The background WebState used for Reading List distillation is created without an opener. Therefore, self.hasOpener evaluates to false. This completely bypasses the security restriction, allowing the navigation to the chrome:// URL to proceed and instantiate the WebUI.
Potential Exploitation Steps
Note: These are theoretical steps based on source code analysis. A working proof-of-concept has not been executed.
- An attacker identifies a reflection endpoint on
www.google.com(e.g., a legacy API or gadget) that reflects user input into an<iframe>srcattribute or a<link rel="amphtml">hrefwithout strict URL validation. - The attacker constructs a URL to this endpoint, injecting
chrome://version(or another sensitive WebUI URL) as the reflected value. - The attacker tricks a victim into adding this
www.google.comURL to their Chrome iOS Reading List. - The
ReadingListDownloadServiceinitiates distillation in a background WebState without an opener. - The background WebState navigates to the attacker's
www.google.comURL. IsGoogleCachedAMPPageis called. Due to the broken path check, it returnstrue.kGetIframeURLJavaScriptexecutes, extractschrome://versionfrom the reflected HTML, and returns it to the C++ code.OnHandleGoogleCachedAMPPageResultnavigates the WebState tochrome://version.CRWWebRequestControllerallows the navigation becausehasOpeneris false.- The background WebState loads the
chrome://versionpage, and the distiller extracts its content, saving it to the user's local Reading List where the attacker may attempt to retrieve it.
Suggested Fixes
- Fix Path Validation: In
IsGoogleCachedAMPPage, correct the path comparison logic to properly account for the leading slash. For example, usebase::StartsWith(url.path_piece(), "/amp/", base::CompareCase::SENSITIVE). - Enforce Scheme Allowlist: In
OnHandleGoogleCachedAMPPageResult, add strict scheme validation to ensure the extracted URL useshttporhttpsbefore callingLoadURLWithParams. - Re-evaluate WebUI Guard: Consider strengthening the
hasOpenercheck inCRWWebRequestControlleror ensuring that background WebStates used for distillation are explicitly prevented from accessing WebUI, regardless of their opener status.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
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
Likely a broken path comparison that always returns true, missing scheme validation on a script-extracted URL, and a WebUI guard that is bypassed because the background WebState has no opener.
Impact
An attacker could cause a background WebState to load privileged chrome:// pages and save their content to the user's Reading List, though the report notes the steps are theoretical and no working proof-of-concept was executed.
What the attacker needed
Reflection endpoint on a Google domain; victim adds crafted URL to Reading List; Chrome on iOS
The fix
The path comparison should be corrected, an http/https scheme allowlist should be enforced before navigation, and the WebUI guard should be strengthened for background WebStates.
How it was found
- Find a reflection endpoint on a Google domain that reflects input into an iframe src or amphtml link href.
- Craft a URL that injects a chrome:// WebUI address as the reflected value.
- Trick the victim into adding that Google URL to their Chrome iOS Reading List.
- The background WebState loads the Google URL and IsGoogleCachedAMPPage incorrectly returns true.
- The script extracts the chrome:// URL and the WebState navigates to it because hasOpener is false.
- The distiller saves the chrome:// page content to the user's Reading List.
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.
The Reading List feature in Chrome on iOS saves pages for later by quietly loading them in the background. A mistake in how it checks web addresses lets a specially crafted Google page tell that background loader to open internal browser pages, which are normally off-limits. The attacker then tricks the user into saving that page, and the internal page's content ends up in the Reading List.
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.