Skip to content
Access control Advisory Intermediate CVE-2026-11274

Inappropriate implementation in DOM Distiller (CVE-2026-11274)

An unhandled JavaScript exception in the iOS DOM Distiller's post-processing halts execution before link sanitisation occurs. This allows web-provided offline Reading List articles containing functional chrome:// links to bypass navigation policies and open internal WebUI pages.

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: An unhandled JavaScript exception in the iOS DOM Distiller's post-processing halts execution before link sanitization occurs. This allows web-provided offline Reading List articles containing functional chrome:// links to bypass navigation policies and open internal WebUI pages.

Affected files:

  • components/dom_distiller/core/javascript/content_processing.js
  • components/dom_distiller/core/javascript/dom_distiller_viewer_main.js
  • ios/web/navigation/crw_wk_navigation_handler.mm
  • ios/chrome/browser/reading_list/model/offline_page_tab_helper.mm
  • ios/web/web_state/ui/crw_web_request_controller.mm

Estimated timestamp from git blame: 2026-02-05

Potential Vulnerability Mechanism

The iOS Reading List offline viewer relies on the DOM Distiller to process and display saved web articles. When an offline article is loaded, the native C++ code injects the distilled HTML and executes a JavaScript function, postProcessElement, to format the content.

postProcessElement (in components/dom_distiller/core/javascript/dom_distiller_viewer_main.js) executes a fixed sequence of functions:

  1. removeExtraneousElementsFrom(element)
  2. wrapTables(element)
  3. addClassesToYoutubeIFrames(element)
  4. fillYouTubePlaceholders(element)
  5. sanitizeLinks(element)

A logic error exists in fillYouTubePlaceholders (components/dom_distiller/core/javascript/content_processing.js). When it encounters a YouTube placeholder (embed-placeholder), it creates a new iframe element and immediately passes it to embedYoutubeIFrame(embed). Crucially, this iframe has not yet been appended to the DOM, meaning it is detached.

Inside embedYoutubeIFrame, the script attempts to read element.parentElement, which returns null for the detached element. It then calls parent.replaceChild(container, element), triggering a TypeError: Cannot read properties of null (reading 'replaceChild').

Because there is no try-catch block around the calls in postProcessElement, this unhandled exception completely halts the execution of the script. As a result, the subsequent call to sanitizeLinks(element) is bypassed.

Navigation Policy Bypass

sanitizeLinks is the primary defense intended to unwrap any links that do not use http:, https:, or # schemes. When it is bypassed, malicious chrome:// links embedded in the original article remain functional in the DOM.

When the offline viewer is presented, OfflinePageTabHelper::LoadData commits the page using the chrome://offline scheme. According to ChromeWebClient::IsAppSpecificURL, this is considered an app-specific URL.

If a user taps an unsanitized chrome:// link in the offline article, iOS WebKit triggers a navigation action. The handler, CRWWKNavigationHandler::shouldAllowAppSpecificURLNavigationAction, permits the navigation because the currently committed item (chrome://offline/...) is also an app-specific URL. The browser will successfully navigate to the target internal WebUI (e.g., chrome://flags), bypassing intended security boundaries.

Suggested Reproduction Steps

(Note: These are potential steps as our tooling agent cannot execute code.)

  1. Host a webpage structured as an article containing a valid YouTube iframe (e.g., <iframe src="https://www.youtube.com/embed/...">) and a link to an internal page (e.g., <a href="chrome://flags">Settings</a>).
  2. On Chrome iOS, have the user add the article to the Reading List.
  3. Disconnect from the network or throttle the connection to force the offline viewer to load via the slow-loading detection timer.
  4. Open the Reading List entry. The JS exception will occur during loading, leaving the chrome:// link intact.
  5. Tap the link; the browser should navigate to chrome://flags.

Suggested Fix

  1. Robust Error Handling: Wrap the individual function calls within postProcessElement in try-catch blocks to ensure that a failure in one formatting step (like YouTube embedding) does not prevent critical security steps like sanitizeLinks from executing.
  2. Fix the Logic Flaw: In fillYouTubePlaceholders, ensure the newly created iframe is appended to the DOM (e.g., replacing the placeholder element itself) before passing it to functions that expect it to have a parentElement.

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.

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 a logic error in fillYouTubePlaceholders where a newly created iframe is passed to embedYoutubeIFrame before being attached to the DOM, causing a TypeError that is not caught and prevents sanitizeLinks from running.

Impact

A user who saves a malicious article to their Reading List and opens it offline could be navigated to internal chrome:// pages, bypassing intended security boundaries.

What the attacker needed

Chrome on iOS; Victim saves a malicious article to Reading List; Victim opens the article offline

The fix

The fix should wrap the individual function calls in postProcessElement in try-catch blocks and ensure the newly created iframe is appended to the DOM before being passed to functions that expect a parentElement.

How it was found

  1. Host a webpage structured as an article containing a valid YouTube iframe and a link to an internal page.
  2. On Chrome iOS, have the user add the article to the Reading List.
  3. Disconnect from the network or throttle the connection to force the offline viewer to load via the slow-loading detection timer.
  4. Open the Reading List entry; the JS exception will occur during loading, leaving the chrome:// link intact.
  5. Tap the link; the browser should navigate to chrome://flags.

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 cleans it up before showing it offline. A bug in that cleanup step causes the browser to stop early, so it never removes dangerous links. A saved article could then contain a link that opens the browser's own internal settings pages, which should not be reachable from web content.

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.