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

Incorrect security UI in Chrome for iOS (CVE-2026-17782)

A logic error in the iOS offline page helper wrote an unvalidated URL from a query parameter into the Omnibox display before checking its scheme. Because the corrective redirect was then blocked by a privileged-page check, an attacker could make the Omnibox persistently show an arbitrary internal chrome:// URL.

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 logic error in OfflinePageTabHelper::ReplaceLocationUrlAndReload on iOS allows a URL from a query parameter to be written to the Omnibox before validation. This spoofing becomes persistent because the browser's security checks subsequently block the corrective redirection intended to fix the URL.

Affected files:

  • ios/chrome/browser/reading_list/model/offline_page_tab_helper.mm
  • ios/chrome/browser/reading_list/model/offline_url_utils.mm
  • ios/web/web_state/ui/crw_web_controller.mm
  • ios/web/web_state/web_state_impl_realized_web_state.mm

Estimated timestamp from git blame: Unknown (Google3 checkout)

Summary

A potential logic error in the iOS OfflinePageTabHelper::ReplaceLocationUrlAndReload function allows an unvalidated URL from the reload= query parameter of a chrome://offline URL to be written to the VirtualURL (which controls the Omnibox display) of the last-committed navigation item. Because this update occurs before scheme validation, and because subsequent corrective navigation is blocked by internal security checks for app-specific URLs, an attacker can cause the Omnibox to persistently display an arbitrary chrome:// URL.

Technical Details

In ios/chrome/browser/reading_list/model/offline_page_tab_helper.mm, the function ReplaceLocationUrlAndReload is called when navigating to a chrome://offline URL with a reload parameter. The function immediately updates the VirtualURL of the current navigation item with the extracted parameter:

C++
// ios/chrome/browser/reading_list/model/offline_page_tab_helper.mm:233
web_state_->GetNavigationManager()->GetLastCommittedItem()->SetVirtualURL(url);

If the reload parameter is chrome://version, the Omnibox is updated to display chrome://version.

The function then attempts to redirect the user to about:blank if the URL is not HTTP/HTTPS by executing JavaScript:

C++
// ios/chrome/browser/reading_list/model/offline_page_tab_helper.mm:245
web_state_->ExecuteUserJavaScript(js);

However, the implementation of ExecuteUserJavaScript in ios/web/web_state/ui/crw_web_controller.mm includes a security check designed to protect privileged pages:

OBJC
// ios/web/web_state/ui/crw_web_controller.mm:1114
if (web::GetWebClient()->IsAppSpecificURL(self.webStateImpl->GetLastCommittedURL())) {
    return; // Block script execution on app-specific pages
}

Because GetLastCommittedURL() returns the VirtualURL, which was just updated to chrome://version, the browser incorrectly believes it is already on a privileged page and blocks the script that would perform the redirection. This leaves the spoofed URL in the Omnibox persistently.

Potential Impact

  1. Omnibox Spoofing: An attacker can show a spoofed chrome:// URL while the page content remains under their control or shows a placeholder.
  2. Security Bypass: Because the browser's internal state reflects that an app-specific page is loaded, it may satisfy conditions for subsequent security checks, such as shouldAllowAppSpecificURLNavigationAction, potentially allowing navigations to other internal pages that are normally restricted.

Suggested Reproduction Steps

(Note: These are suggested steps; our current capabilities do not allow for automated code execution in this environment.)

  1. Identify a method to trigger navigation to chrome://offline/?reload=chrome://version (e.g., via malicious Chrome Sync history injection or a Siri Shortcut).
  2. Observe that the Omnibox displays chrome://version despite the page content being empty or a placeholder.
  3. Observe that the spoofed state persists through reloads.

Recommended Fix

The SetVirtualURL call in OfflinePageTabHelper::ReplaceLocationUrlAndReload should only be performed after the URL scheme has been validated as safe (e.g., http or https). If the scheme is not HTTP or HTTPS, the browser should perform the corrective navigation without ever updating the VirtualURL to the untrusted value.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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 the virtual URL was set from the untrusted reload parameter before scheme validation, and the later script-based redirect was skipped because the privileged-page check read that same spoofed URL.

Impact

An attacker could show a spoofed chrome:// URL in the Omnibox, and the browser's internal state may then satisfy checks for app-specific pages, potentially allowing navigations to other internal pages that are normally restricted.

What the attacker needed

A way to trigger the chrome://offline navigation; iOS Chrome

The fix

The virtual URL should only be set after the scheme has been validated as http or https, and corrective navigation should happen without ever writing the untrusted value.

How it was found

  1. Trigger navigation to a chrome://offline URL carrying a reload parameter pointing at an internal page.
  2. Observe the Omnibox showing the internal URL while the page content is empty or a placeholder.
  3. Observe the spoofed state surviving reloads.

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 Omnibox is the address bar in Chrome. This code took a web address supplied in a link and put it in the address bar before checking whether that address was safe, and the step meant to correct it was then blocked, so the fake address stayed visible.

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.