Skip to content
CSRF Advisory Advanced CVE-2026-7966

Insufficient validation of untrusted input in SiteIsolation (CVE-2026-7966)

A compromised renderer in a cross-origin subframe could bind the LCPCriticalPathPredictorHost Mojo interface without a subframe check, allowing it to inject arbitrary same-site URLs into the parent frame's prefetch database. When the user later navigated to the parent site, the browser would automatically prefetch those URLs with full credentials, including SameSite=Strict cookies, resulting in a persistent blind GET CSRF.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 38 days

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A compromised renderer in a cross-origin subframe can bind the LCPCriticalPathPredictorHost Mojo interface to inject arbitrary URLs into the parent frame's prefetch database. When the user later navigates to the parent site, the browser automatically prefetches these injected URLs with full credentials, including SameSite=Strict cookies. This results in a persistent, credentialed blind GET CSRF against the embedder's origin.

Affected files:

  • chrome/browser/predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_host.cc
  • chrome/browser/page_load_metrics/observers/lcp_critical_path_predictor_page_load_metrics_observer.cc
  • chrome/browser/predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_util.cc

Estimated timestamp from git blame: 2024-10-21

Summary

There is a potential Site Isolation bypass in the LCP Critical Path Predictor (LCPP) implementation. A compromised renderer hosting a cross-origin iframe can poison the LCPP prefetch database for the parent frame's origin. By binding the LCPCriticalPathPredictorHost Mojo interface, which lacks a subframe check, an attacker can inject arbitrary same-site URLs. These URLs are then automatically prefetched with credentials (including SameSite=Strict cookies) when the user later navigates to the victim's site.

Note: The following analysis is based on code review by an AI tooling agent. The steps below are a suggested/potential attack path, as we do not currently have the capability to run a live Proof of Concept.

Vulnerability Details

This issue arises from a combination of missing frame gating and incorrect page resolution during Mojo IPC handling:

  1. Missing Frame Gate: LCPCriticalPathPredictorHost::Create() (chrome/browser/predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_host.cc) fails to verify that the binding RenderFrameHost is an outermost main frame. This contrasts with other predictors like NavigationPredictor::Create(), which safely reject subframes using GetParentOrOuterDocument().
  2. Page Resolution Escalation: When the compromised subframe renderer calls NotifyFetchedSubresource, the browser retrieves the Page object via render_frame_host().GetPage(). Because a Page represents the entire document tree, calling this on a subframe returns the outermost main frame's Page.
  3. Unvalidated Data Append: The host then retrieves the LcpCriticalPathPredictorPageLoadMetricsObserver attached to the main frame and calls AppendFetchedSubresourceUrl. This blindly records the attacker's URL into the main frame's lcpp_data_inputs_ without verifying the origin of the reporting frame.
  4. Database Persistence: When the user navigates away or closes the tab, FinalizeLCP persists this data into the SQLite database, keying it to the main frame's host.
  5. Credentialed Execution: Upon a future navigation to the victim site (e.g., via the Omnibox, where initiator_origin is null), the browser reads the poisoned LCPP entry. It constructs a prefetch request (network::ResourceRequest) with site_for_cookies and request_initiator set to the victim's origin, resulting in a fully authenticated GET request that bypasses SameSite and Fetch Metadata protections.

Suggested Attack Steps

  1. An attacker sets up a malicious page that is loaded as a cross-origin iframe on a benign site (victim.com).
  2. The attacker exploits a standard renderer bug (e.g., in V8) to gain code execution within their cross-origin subframe.
  3. The compromised renderer requests to bind blink::mojom::LCPCriticalPathPredictorHost.
  4. The attacker sends a NotifyFetchedSubresource IPC message containing a sensitive GET endpoint on the parent origin (e.g., https://victim.com/sensitive_action?update=1).
  5. The user eventually closes the tab or navigates away, saving the poisoned prediction to the browser's local LCPP database under the victim.com key.
  6. Days later, the user types victim.com into the Omnibox.
  7. The browser attempts to optimize the load, retrieves the poisoned LCPP data, and issues a prefetch request to https://victim.com/sensitive_action?update=1. Since the browser believes it is optimizing a first-party load, it attaches all first-party cookies (including SameSite=Strict), resulting in a successful GET CSRF.

Suggested Fix

Add a subframe check in LCPCriticalPathPredictorHost::Create() to prevent cross-origin iframes from binding the interface:

C++
void LCPCriticalPathPredictorHost::Create(
    content::RenderFrameHost* render_frame_host,
    mojo::PendingReceiver<blink::mojom::LCPCriticalPathPredictorHost> receiver) {
  // Only valid for the main frame.
  if (render_frame_host->GetParentOrOuterDocument()) {
    return;
  }
  // ... existing code ...
}

Additionally, AppendFetchedSubresourceUrl should optionally validate that the reported subresource's origin makes sense in the context of the reporting frame, though blocking the interface entirely for subframes is the most robust fix.

Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0


Results from 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

Impact

A compromised renderer could cause the browser to issue credentialed GET requests to attacker-chosen same-site URLs on a future navigation, bypassing SameSite and Fetch Metadata protections; the analysis is based on code review and no live proof of concept was run.

What the attacker needed

Attacker page embedded as cross-origin iframe; renderer exploit for code execution; victim later navigates to parent site

The fix

The interface should be blocked for subframes by adding a check in LCPCriticalPathPredictorHost::Create() that rejects any RenderFrameHost with a parent or outer document.

How it was found

  1. An attacker loads a malicious page as a cross-origin iframe on a benign site.
  2. The attacker exploits a renderer bug to gain code execution in the cross-origin subframe.
  3. The compromised renderer binds the LCPCriticalPathPredictorHost Mojo interface.
  4. The attacker sends a NotifyFetchedSubresource IPC message containing a sensitive GET endpoint on the parent origin.
  5. The user closes the tab or navigates away, saving the poisoned prediction to the browser's local LCPP database under the victim's host.
  6. Days later, the user types the victim site into the Omnibox, and the browser issues a prefetch request with first-party cookies, resulting in a GET CSRF.

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.

A web browser has a feature that remembers which resources a page will likely need next, so it can load them faster later. The code that accepts these 'remember this URL' messages did not check that the message came from the page itself rather than from an embedded frame. An attacker who already controlled a small embedded frame could therefore add their own URLs to the list, and the browser would later fetch those URLs with the user's cookies.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.