Insufficient validation of untrusted input in Omnibox (CVE-2026-11273)
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 53 days
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.
Overview: The Omnibox SearchSuggestionParser fails to validate URL schemes for navigation suggestions (NAVSUGGEST) from third-party search engines. This potentially allows a malicious search provider to supply javascript: URLs. If a user manually selects this suggestion in keyword search mode, the script executes in the context of the active tab, leading to Universal Cross-Site Scripting (UXSS).
Affected files:
components/omnibox/browser/search_suggestion_parser.cccomponents/omnibox/browser/search_provider.cc
Estimated timestamp from git blame: 2026-01-07
Summary
A potential Universal Cross-Site Scripting (UXSS) vulnerability exists in the Omnibox SearchSuggestionParser. When processing third-party search engine suggestions, the parser accepts navigation results (NAVSUGGEST) with javascript: schemes. If a user is tricked into selecting such a suggestion while using keyword search mode on a target site, the script payload executes in the context of the currently active tab.
Technical Details
When parsing JSON responses from a search engine's suggest endpoint, SearchSuggestionParser::ParseSuggestResults handles NAVSUGGEST entries by passing the provided URL string to url_formatter::FixupURL (around line 899 in components/omnibox/browser/search_suggestion_parser.cc).
Because FixupURL successfully parses javascript: URLs, and ParseSuggestResults lacks an explicit scheme allowlist, the URL is accepted and pushed to the navigation results. (For comparison, EnterpriseSearchAggregatorProvider correctly enforces a SchemeIsHTTPOrHTTPS() check on its destination URLs, maintaining this security boundary).
The suggestion is converted into an AutocompleteMatch with the javascript: URL assigned to its destination_url. While the browser mitigates immediate execution by preventing navigational suggestions from being the default match during keyword mode (via providers_.GetKeywordProviderURL() != nullptr), the payload still appears as a selectable row in the Omnibox dropdown.
If the user interacts with the dropdown and selects the malicious suggestion, OmniboxEditModel::OpenMatch initiates a navigation to the javascript: URL in the CURRENT_TAB. The content layer recognizes this as a renderer debug URL, passing it via IPC to the renderer, where LocalFrame::LoadJavaScriptURL executes the payload in the context of the active origin.
Potential Reproduction Steps
Note: These are suggested steps based on code analysis; our tooling agent does not have the ability to run code to verify them.
- An attacker hosts an OpenSearch descriptor pointing to a malicious suggest endpoint (e.g.,
https://attacker.example/suggest?q={searchTerms}). - A user visits the attacker's site, causing Chrome to discover and register the search engine.
- The user navigates to a sensitive target site (e.g.,
https://example.com). - The user focuses the Omnibox, enters keyword search mode for the attacker's engine, and types a query.
- The attacker's suggest endpoint returns a JSON payload containing a
NAVSUGGESTentry with ajavascript:payload:["query", ["javascript:alert(document.domain)"], ["Sign in to continue"], [], {"google:suggesttype":["NAVIGATION"]}] - The Omnibox displays "Sign in to continue" as a selectable suggestion in the dropdown.
- The user arrows down to select the suggestion and presses Enter.
- The JavaScript payload executes within the security context of
example.com.
Suggested Fix
In components/omnibox/browser/search_suggestion_parser.cc, within the block handling NAVSUGGEST and NAVSUGGEST_PERSONALIZED, validate that the GURL has a safe scheme before accepting it.
// components/omnibox/browser/search_suggestion_parser.cc
GURL url(url_formatter::FixupURL(base::UTF16ToUTF8(suggestion)));
// Add SchemeIsHTTPOrHTTPS() check (or a similar explicit allowlist)
if (url.is_valid() && url.SchemeIsHTTPOrHTTPS()) {
// ... processes and adds to results->navigation_results
}
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
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.
What is known
A low-severity XSS bug in Omnibox (Google Chrome). Chrome VRP made it public on 2 June 2026 as CVE-2026-11273. Fixed in version 149.0.7827.53.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.