Skip to content
XSS Advisory Intermediate CVE-2026-106209

UI misrepresentation in Mobile (CVE-2026-106209)

The iOS Chrome Lens results panel fails to validate the host and path of navigated URLs, so an attacker can use a Google AMP viewer link with a specific query parameter to load their own phishing page. The native omnibox then displays attacker-controlled text from the query string, spoofing the address bar.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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 address bar and origin-indicator spoofing vulnerability exists in iOS Chrome's Lens results bottom sheet UI. Due to missing host and path validation in IsLensOverlaySRP, an attacker can leverage a Google AMP viewer link with the lns_surface=4 parameter to bypass domain restrictions while loading their own phishing page. This allows the attacker to fully control the native omnibox steady-state text using the q query parameter of the navigated URL.

Affected files:

  • ios/chrome/browser/lens_overlay/model/lens_overlay_url_utils.mm
  • ios/chrome/browser/lens_overlay/model/lens_overlay_navigation_manager.mm
  • ios/chrome/browser/lens_overlay/coordinator/lens_result_page_mediator.mm
  • ios/chrome/browser/lens_overlay/coordinator/lens_overlay_mediator.mm
  • ios/chrome/browser/lens_overlay/coordinator/lens_omnibox_client.mm

Estimated timestamp from git blame: 2025-01-10

Description

A potential address-bar/origin-indicator spoofing vulnerability exists in the iOS Chrome Lens results panel. When a user navigates inside the results panel, the policy decider IsValidURLToOpenInResultsPage permits navigation to any URL on an allowed Google host that contains the lns_surface=4 parameter. An attacker can exploit this by utilizing a Google AMP viewer link (e.g., https://www.google.com/amp/s/attacker.com/phish) to bypass the host restriction and load an attacker-controlled page.

Once the navigation begins, LensOverlayNavigationManager::DidStartNavigation evaluates the destination URL using lens::IsLensOverlaySRP. However, IsLensOverlaySRP only checks query parameters (such as q and lns_surface=4) and performs no host or path validation. As a result, the navigation manager incorrectly identifies the AMP URL as a Search Results Page (SRP) and extracts the q query parameter to override the native omnibox steady-state text via LensOmniboxClient::SetOmniboxSteadyStateText. The native omnibox then displays the attacker-controlled text (e.g., "chase.com — Sign in") while the web view loads the attacker's phishing content inside the AMP viewer.

Potential Steps to Reproduce

  1. On iOS Chrome, invoke the Lens overlay and wait for the results bottom sheet to load.
  2. Trigger a main-frame navigation within the panel's WebState to a crafted Google AMP URL, such as: https://www.google.com/amp/s/attacker.com/phish?q=chase.com%20%E2%80%94%20Sign%20in&lns_surface=4
  3. Observe that the navigation is permitted because www.google.com is a valid Google domain under IsGoogleHostURL (which permits the www.google prefix under DISALLOW_SUBDOMAIN checks) and contains lns_surface=4.
  4. Observe that IsLensOverlaySRP evaluates the URL as a valid SRP because it contains query keys q and lns_surface=4.
  5. Observe that the native omnibox text is rewritten to display chase.com — Sign in while the page viewport displays the attacker's phishing page.

Note: These are potential steps analyzed from the source code, as our tooling environment does not currently have the capability to execute code or run dynamic proofs of concept.

Suggested Fix

Update IsLensOverlaySRP and IsLensMultimodalSRP in ios/chrome/browser/lens_overlay/model/lens_overlay_url_utils.mm to ensure they perform host validation using IsGoogleHostURL(url) before parsing and trusting query parameters:

C++
bool IsLensOverlaySRP(const GURL& url) {
  if (!IsGoogleHostURL(url)) {
    return false;
  }
  std::string search_term;
  bool hasSearchTerms = net::GetValueForKeyInQuery(url, "q", &search_term);
  std::string lens_surface;
  bool hasLensSurface = net::GetValueForKeyInQuery(
      url, lens::kLensSurfaceQueryParameter, &lens_surface);
  std::string request_id;
  bool hasLensParam = net::GetValueForKeyInQuery(
      url, lens::kLensRequestQueryParameter, &request_id);

  return hasSearchTerms && hasLensSurface && !hasLensParam &&
         lens_surface == "4";
}

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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 function that decides whether a URL is a search results page only checks for certain query parameters and does not verify the host or path, allowing an AMP viewer URL to be misclassified.

Impact

An attacker could spoof the address bar to display arbitrary text while showing a phishing page, potentially tricking users into entering credentials; however, the report notes these are potential steps from source analysis without a dynamic proof of concept.

What the attacker needed

IOS Chrome with Lens overlay; victim opens a crafted AMP link

The fix

The functions `IsLensOverlaySRP` and `IsLensMultimodalSRP` should be updated to validate the host using `IsGoogleHostURL` before trusting query parameters.

How it was found

  1. Open the Lens overlay in iOS Chrome and wait for the results panel to load.
  2. Navigate the panel to a crafted Google AMP URL containing the `lns_surface=4` parameter and a `q` parameter with the desired spoofed text.
  3. The navigation is allowed because the URL is on a Google host and includes the required parameter.
  4. The URL is incorrectly identified as a search results page because it contains the expected query keys.
  5. The native omnibox displays the attacker-controlled text while the web view shows the attacker's page.

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 address bar in a browser is supposed to show the real website you are visiting. In this case, a part of Chrome on iPhone could be tricked into showing a fake website name while actually displaying a page controlled by an attacker. This could make someone believe they are on a trusted site, like a bank, and enter their details.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.