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.mmios/chrome/browser/lens_overlay/model/lens_overlay_navigation_manager.mmios/chrome/browser/lens_overlay/coordinator/lens_result_page_mediator.mmios/chrome/browser/lens_overlay/coordinator/lens_overlay_mediator.mmios/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
- On iOS Chrome, invoke the Lens overlay and wait for the results bottom sheet to load.
- 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 - Observe that the navigation is permitted because
www.google.comis a valid Google domain underIsGoogleHostURL(which permits thewww.googleprefix underDISALLOW_SUBDOMAINchecks) and containslns_surface=4. - Observe that
IsLensOverlaySRPevaluates the URL as a valid SRP because it contains query keysqandlns_surface=4. - Observe that the native omnibox text is rewritten to display
chase.com — Sign inwhile 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:
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.
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
- Open the Lens overlay in iOS Chrome and wait for the results panel to load.
- Navigate the panel to a crafted Google AMP URL containing the `lns_surface=4` parameter and a `q` parameter with the desired spoofed text.
- The navigation is allowed because the URL is on a Google host and includes the required parameter.
- The URL is incorrectly identified as a search results page because it contains the expected query keys.
- 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.