Skip to content
Info disclosure Advisory Advanced CVE-2026-113208

Information leak in ContextualSearch (CVE-2026-113208)

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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: The sensitive X-Additional-Discourse-Context header, used in Contextual Search and Partial Translate, is not stripped during cross-origin redirects. This potentially allows unauthorized origins to capture a user's current page URL and surrounding text context.

Affected files:

  • components/touch_to_search/core/browser/contextual_search_delegate_impl.cc
  • components/variations/net/variations_http_headers.cc
  • services/network/public/cpp/simple_url_loader.cc

Estimated timestamp from git blame: 2018-09-25

Summary

A potential information disclosure vulnerability exists in the Contextual Search and Partial Translate features. When a search term resolution request is made, a sensitive header named X-Additional-Discourse-Context is attached to the request. This header contains the full URL of the currently visited page and approximately 1.5 KB of text surrounding the user's selection (which can include content from the page DOM or iframes).

If the resolution endpoint issues a redirect to a different origin, this sensitive header is not stripped by the browser and is forwarded to the new destination. This behavior violates the security contract that sensitive page context should only be sent to authorized Google-owned services.

Root Cause Analysis

The issue stems from how the SimpleURLLoader is configured in ContextualSearchDelegateImpl.

  1. Incomplete Header Stripping: ContextualSearchDelegateImpl creates its loader using variations::CreateSimpleURLLoaderWithVariationsHeaderUnknownSignedIn (contextual_search_delegate_impl.cc:294). This helper installs a redirect callback (RemoveVariationsHeaderIfNeeded) that specifically removes only the X-Client-Data variations header during cross-origin redirects (variations_http_headers.cc:359). The X-Additional-Discourse-Context header is ignored and persists in the request.
  2. Lack of Custom Redirect Handling: The ResourceRequest used defaults to RedirectMode::kFollow. ContextualSearchDelegateImpl does not provide its own redirect callback to ensure its specific sensitive headers are removed when leaving a trusted origin.
  3. Third-Party Search Providers: If a user has configured a non-Google search provider as their default, the variations helper does not install any redirect callback at all (variations_http_headers.cc:379), causing all headers to survive every redirect hop.

Potential Attack Scenario

  1. A user on Android (with Touch to Search enabled) or Desktop (Partial Translate) browses a sensitive page (e.g., a private message or a site containing PII).
  2. The user triggers a Contextual Search resolve request (e.g., via a long-press).
  3. The resolution request is sent to an endpoint (e.g., https://www.google.com/_/contextualsearch...) with the X-Additional-Discourse-Context header.
  4. If the endpoint redirects to an attacker-controlled origin (e.g., via an open redirect on a Google host or if the user uses a malicious search provider), the SimpleURLLoader follows the redirect.
  5. The attacker receives the X-Additional-Discourse-Context header, decodes the Base64 content, and gains access to the user's current URL and surrounding page text.

Suggested Fix

ContextualSearchDelegateImpl should explicitly manage the lifetime of its sensitive headers during redirects. This can be achieved by providing a custom OnRedirectCallback to the SimpleURLLoader that ensures X-Additional-Discourse-Context is added to the removed_headers vector whenever a redirect to a non-authorized or cross-origin URL is detected.

Note: This analysis was performed using static code review and automated tools; a functional proof-of-concept has not yet been executed.

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.

What is known

A medium-severity info disclosure bug in ContextualSearch (Google Chrome). Chrome VRP made it public on 20 October 2026 as CVE-2026-113208. Fixed in version 156.0.8078.47.

About Info disclosure

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.