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

Inappropriate implementation in Network (CVE-2026-11194)

The COEP and DIP violation reporters failed to strip URL fragments when generating reports, so a fragment containing sensitive data such as an OAuth token could be sent to an attacker's reporting endpoint. An attacker could embed a victim application and trigger a violation report that includes the fragment.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 47 days

Flapjack, 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. Please see go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The CrossOriginEmbedderPolicyReporter and DocumentIsolationPolicyReporter fail to strip URL fragments when generating violation reports. This violates the Fetch/HTML specifications and can potentially leak sensitive data, such as OAuth tokens, embedded in the fragment of a blocked URL to an attacker's reporting endpoint.

Affected files:

  • content/browser/network/cross_origin_embedder_policy_reporter.cc
  • content/browser/security/dip/document_isolation_policy_reporter.cc

Estimated timestamp from git blame: 2025-01-16

Vulnerability Details

The CrossOriginEmbedderPolicyReporter (in content/browser/network/cross_origin_embedder_policy_reporter.cc) and the DocumentIsolationPolicyReporter (in content/browser/security/dip/document_isolation_policy_reporter.cc) are responsible for generating violation reports when documents or subresources violate Cross-Origin Embedder Policy (COEP) or Document Isolation Policy (DIP).

When a violation occurs, these classes include the blockedURL in the report. To sanitize the URL, they rely on a helper function called StripUsernameAndPassword:

C++
// content/browser/network/cross_origin_embedder_policy_reporter.cc
GURL StripUsernameAndPassword(const GURL& url) {
  GURL::Replacements replacements;
  replacements.ClearUsername();
  replacements.ClearPassword();
  return url.ReplaceComponents(replacements);
}

This implementation clears the username and password but explicitly fails to clear the URL fragment (the portion after the #). According to the HTML specification for queuing a COEP violation report, the blockedURL must be the result of "stripping url for use as a referrer", which mandates setting the URL's fragment to null. By failing to strip the fragment, Chromium inadvertently exposes it in the generated report.

Potential Security Impact

This flaw allows sensitive information contained in fragments, such as OAuth access_tokens or internal session identifiers, to be leaked cross-origin.

Suggested Attack Scenario (Client-Side Navigation): Note: These steps represent a potential attack path derived from source code analysis.

  1. An attacker hosts a malicious site and serves the header Cross-Origin-Embedder-Policy-Report-Only: require-corp along with a valid Reporting API endpoint.
  2. The attacker registers a ReportingObserver via JavaScript for "coep" reports.
  3. The attacker embeds a vulnerable, frameable cross-origin victim application (<iframe src="https://victim.com/auth">).
  4. The victim application successfully authenticates the user and executes a client-side navigation to pass a sensitive token via the fragment: window.location.assign("https://victim.com/callback#access_token=SECRET");.
  5. The browser intercepts the navigation. Because it is a cross-document navigation, NavigationRequest::CheckResponseAdherenceToCoep evaluates the new child document against the attacker's require-corp policy.
  6. Because the victim's callback lacks a CORP policy, the browser queues a COEP navigation violation report.
  7. The URL passed to the reporter is redirect_chain_[0], which is the exact client-side URL including the fragment.
  8. The flawed StripUsernameAndPassword function preserves #access_token=SECRET.
  9. The browser sends the report containing the sensitive fragment to the attacker's JavaScript ReportingObserver and to their server-side reporting endpoint.

Furthermore, this same flaw applies to subresource requests blocked by CORP. A victim iframe performing fetch("https://api.victim.com/data#secret") will have the fragment preserved by Blink over Mojo IPC, and the resulting COEP/DIP report will leak the fragment to the embedder.

Recommended Fix

The StripUsernameAndPassword function in both reporters should be updated to strip fragments. This can be achieved by utilizing GURL::GetAsReferrer() (which correctly strips username, password, and fragment) instead of a custom replacement logic. For example, Chrome's COOP reporter (CrossOriginOpenerPolicyReporter) already correctly implements this via its SanitizedURL() helper.

Evaluated with Chrome root at commit: c0eb5541aebfa4ea08806eaf6e94bcc69f87ab2f


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.

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

The helper function that sanitises the blocked URL clears only the username and password, not the fragment, contrary to the specification's requirement to strip the URL for use as a referrer.

Impact

Sensitive data in URL fragments, such as OAuth access tokens, could be leaked to an attacker-controlled reporting endpoint; the text notes this is a potential attack path derived from source code analysis.

What the attacker needed

Victim application is frameable; victim uses fragment for sensitive data; attacker can set COEP report-only header; victim lacks CORP policy

The fix

The reporters should use GURL::GetAsReferrer() to strip username, password, and fragment, as the COOP reporter already does.

How it was found

  1. The attacker hosts a site with a COEP report-only header and a reporting endpoint.
  2. The attacker registers a ReportingObserver for COEP reports.
  3. The attacker embeds a frameable victim application in an iframe.
  4. The victim application authenticates the user and navigates to a URL with a secret in the fragment.
  5. The browser blocks the navigation due to COEP and queues a violation report.
  6. The report, including the fragment, is sent to the attacker's observer and endpoint.

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.

When a browser blocks a resource because of a security policy, it can send a report to a URL chosen by the page. The report includes the blocked URL, and the code that cleans that URL forgot to remove the part after the # symbol. That part can contain secrets like login tokens, so the report can leak them to whoever set up the reporting endpoint.

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.