Skip to content
Access control Advisory Advanced CVE-2026-17830

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.js
  • ios/web/navigation/crw_wk_navigation_handler.mm
  • ios/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:

  1. Potential failure to strip or sanitize rel attributes during DOM distillation: In third_party/dom_distiller_js/dist/js/domdistiller.js, the attribute allowlist used during GWT sanitization contains the "rel" attribute. During post-extraction link sanitization inside components/dom_distiller/core/javascript/content_processing.js, the sanitizeLinks function processes links in distilled pages. While it forces the target to _blank (linkElement.target = '_blank'), it does not modify or strip the existing rel attribute. As a result, if an article contains a link with rel="opener", this attribute survives the distillation process and is saved in the local offline HTML archive.

  2. Insecure verification of renderer-initiated chrome:// navigations on iOS: When a distilled Reading List article is loaded offline, the page is loaded into a WKWebView with the base URL chrome://offline?reload=<entry>. The navigation handler (ios/web/navigation/crw_wk_navigation_handler.mm) restricts renderer-initiated navigations to app-specific schemes using shouldAllowAppSpecificURLNavigationAction: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()), IsAppSpecificURL returns true.

Potential Attack Scenario

  1. An attacker serves an article containing an anchor tag like: <a href="https://attacker.example/payload" rel="opener">Read more</a>
  2. The user adds this article to their Reading List. During distillation, DOM Distiller keeps the link and leaves the rel="opener" attribute intact.
  3. When the user opens the saved article offline or on a slow connection, it is loaded under the chrome://offline URL. The parent tab has GetURL() == chrome://offline... and GetVirtualURL() == https://attacker.example/....
  4. The user taps the link, opening https://attacker.example/payload in a new tab. Because rel="opener" is present, the browser preserves the window.opener reference pointing to the parent tab.
  5. The loaded attacker page executes cross-origin location assignment to target the parent window: window.opener.location = 'chrome://flags';
  6. 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 to chrome://flags to 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:

  1. Sanitize rel attributes during distillation: Update DOM Distiller's link sanitization code in components/dom_distiller/core/javascript/content_processing.js to strip the rel attribute or explicitly enforce rel="noopener" on any cross-origin links.
  2. Restrict Navigation Privileges for Non-WebUI Pages: Refactor shouldAllowAppSpecificURLNavigationAction:transition: in ios/web/navigation/crw_wk_navigation_handler.mm so that pages loaded with non-privileged app-specific base URLs like chrome://offline are not granted blanket permission to navigate to other privileged app-specific URLs. This can be achieved by only checking lastItem->GetVirtualURL() or maintaining a list of strictly privileged WebUI pages rather than trusting any URL with the chrome:// 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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. Attacker serves an article containing a link with rel=opener.
  2. User adds the article to their Reading List, and distillation keeps the rel attribute.
  3. User opens the saved article offline, loading it under the chrome://offline URL.
  4. User taps the link, opening the attacker page in a new tab with window.opener preserved.
  5. The attacker page sets the parent window location to a privileged chrome:// page.
  6. 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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.