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

Information leak in Core (CVE-2026-78941)

The Chrome browser process sends the full URL of a cross-origin ancestor frame to a subframe's renderer process during mixed content checks. An attacker-controlled renderer could intercept this IPC message and learn sensitive information such as session tokens or OAuth codes present in the ancestor's URL.

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 without the security team.

Overview: The Chrome browser process potentially leaks the full URL of a cross-origin ancestor frame to a subframe's renderer process. This disclosure occurs via the blink.mojom.LocalFrame.MixedContentFound IPC during mixed content checks. This could violate Site Isolation principles, which restrict access to cross-origin ancestor information to origins only.

Affected files:

  • content/browser/renderer_host/mixed_content_checker.cc

Estimated timestamp from git blame: 2023-11-07

Description

A potential security vulnerability in Chrome's mixed content checking logic allows a compromised or malicious renderer process to obtain the full URL of a cross-origin ancestor frame.

When a subframe initiates a navigation to an insecure (HTTP) URL, the browser's MixedContentNavigationThrottle performs security checks. If the subframe is embedded within a secure (HTTPS) context, the mixed content checker identifies the ancestor frame responsible for the secure context (the 'mixed content frame').

During this process, the browser calls MixedContentChecker::UpdateRendererOnMixedContentFound in content/browser/renderer_host/mixed_content_checker.cc. This function sends the blink.mojom.LocalFrame.MixedContentFound IPC to the renderer process currently hosting the subframe. Critically, the main_resource_url parameter of this IPC is populated using mixed_content_frame->GetLastCommittedURL(), which returns the full URL of the ancestor frame.

Under Site Isolation, a renderer process should not have access to the full URLs of cross-origin frames in other processes. The web platform only exposes the origins of such ancestors (e.g., via location.ancestorOrigins). Leaking the full URL can expose sensitive information such as OAuth authorization codes, session tokens, CSRF tokens, or private document IDs contained within the URL path, query string, or fragment.

Technical Analysis

The potential vulnerability exists in the following call chain:

  1. MixedContentNavigationThrottle::WillStartRequest calls MixedContentChecker::ShouldBlockNavigation.
  2. MixedContentChecker::InWhichFrameIsContentMixed identifies the ancestor frame (often the outermost main frame) as the source of the mixed content restriction.
  3. MixedContentChecker::ShouldBlockInternal is called and unconditionally sets should_report_to_renderer = true.
  4. MixedContentChecker::ShouldBlockNavigation then calls UpdateRendererOnMixedContentFound.
  5. UpdateRendererOnMixedContentFound retrieves the current RenderFrameHost for the navigating subframe: rfh = navigation_request->frame_tree_node()->current_frame_host().
  6. It then sends the MixedContentFound IPC to this rfh, providing the full GURL from the ancestor frame: mixed_content_frame->GetLastCommittedURL().

Because the IPC is sent to the current_frame_host of the subframe before the navigation commits, it is delivered to the process currently controlled by the attacker. This leak occurs even if the navigation is ultimately blocked by the mixed content policy.

Impact

This is a potential Site Isolation bypass resulting in cross-origin information disclosure. An attacker-controlled subframe can learn the full URL of its parent or the top-level frame, even if they are cross-origin. This can lead to the theft of sensitive data passed in URLs.

Suggested Steps to Reproduce

(Note: These are suggested steps to reproduce; our tooling agent does not have the ability to run code to confirm this exploit)

  1. Use a Chrome build with Site Isolation enabled (default).
  2. Navigate the top-level frame to a sensitive URL: https://victim.example/dashboard?session_token=secret_123#private_data.
  3. The victim page embeds an attacker-controlled iframe: <iframe src="https://attacker.example/"></iframe>.
  4. From the attacker iframe, initiate a navigation to any HTTP URL (e.g., by creating a nested iframe with src="http://example.com/").
  5. A compromised attacker renderer can intercept the blink.mojom.LocalFrame::MixedContentFound Mojo message sent by the browser.
  6. The main_resource_url parameter in that message will contain the full URL https://victim.example/dashboard?session_token=secret_123#private_data.

Suggested Fix

To remediate this issue, the browser should not send the full URL of the ancestor frame to the renderer process. Instead, it should strip the path, query, and fragment components from the URL, or just send the origin of the ancestor frame. The mixed_content_frame->GetLastCommittedOrigin().GetURL() could be used instead of mixed_content_frame->GetLastCommittedURL() when populating the IPC argument.

Evaluated with Chrome root at commit: e9e0fcbb690b1a8c1a26c81c2a9ea23d6e178368


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 browser uses the full URL of the ancestor frame instead of just its origin when sending the MixedContentFound IPC message to the renderer.

Impact

This could allow an attacker-controlled subframe to learn the full URL of a cross-origin parent frame, potentially exposing sensitive data such as session tokens or OAuth codes.

What the attacker needed

Chrome with Site Isolation enabled; Victim visits a page with sensitive URL; Attacker controls an iframe on that page; Attacker can intercept IPC messages

The fix

The browser should send only the origin of the ancestor frame, not the full URL, by using GetLastCommittedOrigin().GetURL() instead of GetLastCommittedURL().

How it was found

  1. Use a Chrome build with Site Isolation enabled.
  2. Navigate the top-level frame to a sensitive URL.
  3. Embed an attacker-controlled iframe in the victim page.
  4. From the attacker iframe, initiate a navigation to an HTTP URL.
  5. Intercept the MixedContentFound Mojo message in the attacker renderer.
  6. Read the full URL from the main_resource_url parameter.

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 web page loads content over an insecure connection, the browser checks for mixed content. In doing so, it sends a message to the part of the browser handling the subframe, and that message includes the full web address of the parent page. If an attacker controls that subframe, they can read the parent's address, which might contain secret tokens.

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.