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

Missing authorization in Navigation (CVE-2026-106196)

In Chrome on iOS, security error pages can be forced to commit with the blocked site's origin instead of a safe local file URL, allowing an attacker to retain DOM access to the interstitial. This lets them suppress the warning UI and programmatically send a proceed command, silently bypassing the security restriction.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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 go/chrome-ai-generated-security-bugs-faq for more information.

Overview: In Chrome on iOS, security error pages (e.g., Safe Browsing) can be forced to commit with the blocked site's origin rather than a safe local file URL. By using history.replaceState in a same-origin popup before triggering a block, an attacker can retain DOM access to the interstitial. This allows them to intercept the warning UI and programmatically send a proceed command, silently bypassing the security restriction.

Affected files:

  • ios/web/navigation/crw_wk_navigation_handler.mm
  • ios/web/navigation/crw_error_page_helper.mm

Estimated timestamp from git blame: 2024-10-02

Description

When Chrome for iOS encounters a navigation blocked by security features like Safe Browsing, SSL errors, or Lookalike URLs, it displays an interstitial error page. This is managed by -[CRWWKNavigationHandler displayErrorPageWithError:inWebView:isProvisionalLoad:].

During this process, the handler evaluates whether to load a local error file:// URL or to inject the error page using loadHTMLString:baseURL:. If the WKWebView's current backForwardList.currentItem.URL already matches the blocked URL, the handler assumes it needs to replace the current page and falls back to [webView loadHTMLString:@"" baseURL:errorPage.failedNavigationURL].

An attacker can reliably trigger this fallback by opening a same-origin popup and using history.replaceState to change the popup's URL to the blocked URL before calling location.reload(). Because the baseURL for the interstitial is set to the blocked URL, the resulting document inherits that origin.

If the attacker's "opener" window shares this origin, it retains full synchronous DOM access to the interstitial document. The opener can then suppress the warning UI (e.g., by overriding document.write before the interstitial HTML is injected) and silently send a CMD_PROCEED (command ID 1) via the IOSInterstitialMessage WebKit message handler. The browser interprets this as deliberate user consent, allowing the unsafe navigation to proceed without the user ever seeing the warning.

Potential Steps to Reproduce

(Note: These are suggested steps based on static code analysis; our tooling agent has not executed a live proof-of-concept.)

  1. An attacker hosts a page at https://a.example/opener.
  2. The attacker ensures another URL on the same origin, e.g., https://a.example/flagged, triggers a security interstitial (such as being on the Safe Browsing blocklist).
  3. A victim visits https://a.example/opener.
  4. The attacker's script opens a popup: w = window.open('https://a.example/ok').
  5. Once loaded, the script alters the popup's history state: w.history.replaceState(null, '', '/flagged').
  6. The script triggers the blocked navigation: w.location.reload().
  7. Chrome intercepts the navigation, cancels it, and prepares the error page. Because the history item URL matches the failed URL, it takes the loadHTMLString:baseURL: path.
  8. The attacker's script immediately hooks the document to suppress the UI: w.document.write = function() {}.
  9. The script programmatically dismisses the warning: w.webkit.messageHandlers.IOSInterstitialMessage.postMessage({command: '1'}).
  10. The browser registers the bypass and navigates the victim to the dangerous payload.

Suggested Fix

Using loadHTMLString:baseURL: with the failedNavigationURL grants the resulting document the security context of the blocked site, breaking the isolation of the interstitial.

  1. Use Opaque/Safe Origins: Error pages should be committed in an isolated context, ideally always using a file:// URL or an opaque origin, mimicking desktop Chrome's behavior. If loadHTMLString: must be used, the baseURL should not be the potentially attacker-controlled failed URL.
  2. Message Authentication: IOSSecurityInterstitialJavaScriptFeature::ScriptMessageReceived could implement stricter checks to ensure that messages like CMD_PROCEED are originating from a definitively trusted interstitial context, rather than a document sharing an origin with web content.

Evaluated with Chrome root at commit: 7353d249d9cacf9c7218e1d7b8a39cf39c72d646


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 the error page is loaded with loadHTMLString:baseURL: using the blocked URL as base, so the interstitial inherits the attacker's origin instead of being isolated.

Impact

An attacker could silently bypass security interstitials, allowing unsafe navigation to proceed without the user seeing a warning.

What the attacker needed

Victim visits attacker's page; attacker controls a flagged URL on same origin; Chrome on iOS

The fix

Error pages should be committed in an isolated context, such as always using a file:// URL or an opaque origin, and message handlers should verify that proceed commands come from a trusted interstitial context.

How it was found

  1. Attacker hosts a page on one origin and ensures another URL on the same origin triggers a security interstitial.
  2. Victim visits the attacker's page.
  3. Attacker's script opens a popup to a safe URL on the same origin.
  4. Script uses history.replaceState to change the popup's URL to the flagged URL.
  5. Script calls location.reload() to trigger the blocked navigation, causing the error page to load with the blocked URL as base.
  6. Script overrides document.write to suppress the warning UI and sends a proceed command via the IOSInterstitialMessage handler.

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 Chrome blocks a dangerous site, it shows a warning page. Normally that page is isolated so the bad site cannot touch it. Here, a bug lets the bad site keep control of the warning page, so it can hide the warning and pretend the user clicked 'proceed'.

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.