Inappropriate implementation in Chrome for iOS (CVE-2026-17830)
A distilled offline Reading List page on iOS keeps a link's rel=opener attribute, so a child tab opened from it retains a window.opener reference to the parent. The attacker page can then navigate the parent tab to privileged chrome:// WebUI pages because the navigation handler treats the chrome://offline base URL as an app-specific context.
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. 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 potential security bypass in iOS Reading List navigation logic allows an attacker-controlled website to navigate a user's offline Reading List tab to privileged chrome:// WebUI pages. When a user opens a distilled offline page under 'chrome://offline' that contains a link preserving 'rel=opener', the child tab retains a 'window.opener' reference. This reference allows the child page to cross-origin navigate the parent tab, which the browser permits because it erroneously treats the 'chrome://offline' base URL of the parent tab as a privileged app-specific context.
Affected files:
components/dom_distiller/core/javascript/content_processing.jsios/web/navigation/crw_wk_navigation_handler.mmios/chrome/browser/reading_list/model/offline_page_tab_helper.mm
Estimated timestamp from git blame: 2025-12-23
Description
A potential vulnerability in the link sanitization and navigation verification logic for iOS Reading List allows an attacker-controlled website to navigate a user's offline Reading List tab to any arbitrary privileged local chrome:// WebUI page (such as chrome://flags or chrome://autofill-internals).
Note: The following findings and steps are based on static analysis of the source code. Our tooling agent does not currently have the ability to execute code or run a live proof of concept, so these should be treated as potential paths and behaviors.
This potential issue stems from two interacting defects:
-
Potential failure to strip or sanitize
relattributes during DOM distillation: Inthird_party/dom_distiller_js/dist/js/domdistiller.js, the attribute allowlist used during GWT sanitization contains the"rel"attribute. During post-extraction link sanitization insidecomponents/dom_distiller/core/javascript/content_processing.js, thesanitizeLinksfunction processes links in distilled pages. While it forces the target to_blank(linkElement.target = '_blank'), it does not modify or strip the existingrelattribute. As a result, if an article contains a link withrel="opener", this attribute survives the distillation process and is saved in the local offline HTML archive. -
Insecure verification of renderer-initiated
chrome://navigations on iOS: When a distilled Reading List article is loaded offline, the page is loaded into aWKWebViewwith the base URLchrome://offline?reload=<entry>. The navigation handler (ios/web/navigation/crw_wk_navigation_handler.mm) restricts renderer-initiated navigations to app-specific schemes usingshouldAllowAppSpecificURLNavigationAction:transition:. However, it permits navigations to app-specific URLs if the last committed URL of the web state is itself app-specific:OBJECTIVE-C web::NavigationItem* lastItem = self.webStateImpl->GetNavigationManager()->GetLastCommittedItem(); if (lastItem && (web::GetWebClient()->IsAppSpecificURL(lastItem->GetVirtualURL()) || web::GetWebClient()->IsAppSpecificURL(lastItem->GetURL()))) { // Last committed page is also app specific and navigation should be allowed. return YES; }Since the offline page is loaded with
chrome://offline?reload=...as its actual committed URL (lastItem->GetURL()),IsAppSpecificURLreturns true.
Potential Attack Scenario
- An attacker serves an article containing an anchor tag like:
<a href="https://attacker.example/payload" rel="opener">Read more</a> - The user adds this article to their Reading List. During distillation, DOM Distiller keeps the link and leaves the
rel="opener"attribute intact. - When the user opens the saved article offline or on a slow connection, it is loaded under the
chrome://offlineURL. The parent tab hasGetURL() == chrome://offline...andGetVirtualURL() == https://attacker.example/.... - The user taps the link, opening
https://attacker.example/payloadin a new tab. Becauserel="opener"is present, the browser preserves thewindow.openerreference pointing to the parent tab. - The loaded attacker page executes cross-origin location assignment to target the parent window:
window.opener.location = 'chrome://flags'; - The parent tab's navigation handler detects that the parent window's actual last committed URL is
chrome://offline, deems it app-specific, and allows the navigation tochrome://flagsto proceed.
Impact
An attacker can force the victim's offline tab (which displays the legitimate-looking article URL in the omnibox) to navigate to any privileged chrome:// WebUI page. This bypasses the protections against renderer-initiated WebUI navigation on iOS, potentially exposing sensitive browser settings or administrative panels.
Suggested Fix
To resolve this potential issue, the following remediations should be considered:
- Sanitize
relattributes during distillation: Update DOM Distiller's link sanitization code incomponents/dom_distiller/core/javascript/content_processing.jsto strip therelattribute or explicitly enforcerel="noopener"on any cross-origin links. - Restrict Navigation Privileges for Non-WebUI Pages: Refactor
shouldAllowAppSpecificURLNavigationAction:transition:inios/web/navigation/crw_wk_navigation_handler.mmso that pages loaded with non-privileged app-specific base URLs likechrome://offlineare not granted blanket permission to navigate to other privileged app-specific URLs. This can be achieved by only checkinglastItem->GetVirtualURL()or maintaining a list of strictly privileged WebUI pages rather than trusting any URL with thechrome://scheme.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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
Likely two combined mistakes: link sanitisation during distillation leaves the rel attribute intact, and the iOS navigation handler allows app-specific navigations whenever the last committed URL is itself app-specific, which chrome://offline satisfies.
Impact
An attacker could force the victim's offline tab, which still shows the legitimate article URL, to navigate to a privileged chrome:// WebUI page, potentially exposing sensitive settings or administrative panels; the report notes this is based on static analysis only and was not executed.
What the attacker needed
Victim saves attacker article to Reading List; victim opens it offline and taps the link; iOS Chrome
The fix
The report suggests stripping the rel attribute or enforcing rel=noopener during distillation, and restricting app-specific navigation so non-privileged base URLs like chrome://offline cannot reach other privileged pages.
How it was found
- Attacker serves an article containing a link with rel=opener.
- User adds the article to their Reading List, and distillation keeps the rel attribute.
- User opens the saved article offline, loading it under the chrome://offline URL.
- User taps the link, opening the attacker page in a new tab with window.opener preserved.
- The attacker page sets the parent window location to a privileged chrome:// page.
- The navigation handler sees the parent's last committed URL as chrome://offline and allows the navigation.
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 save an article to read later, the browser stores a cleaned-up copy. A link in that copy can keep a special setting that lets the opened page control the tab it came from. Because the saved copy lives under a special browser address, the browser wrongly trusts it and lets it jump to internal settings pages.
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.