Inappropriate implementation in Preload (CVE-2026-8014)
During cross-origin redirects, the browser fails to clear the LCPP hint if the redirect target has no predictor data, allowing stale navigation hints from the initial origin to leak to the redirect target's renderer. An attacker could use this to infer a user's DOM structure on a victim site by observing which lazy-loaded images are eagerly preloaded.
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: During cross-origin redirects, the browser fails to clear the LCPP (LCP Critical Path Predictor) hint if the redirect target has no predictor data. This allows stale navigation hints, including LCP element locators, from the initial origin to leak to the redirect target's renderer, potentially enabling XS-Search attacks.
Affected files:
chrome/browser/predictors/loading_predictor_tab_helper.cccontent/browser/renderer_host/navigation_request.cccontent/renderer/render_frame_impl.ccthird_party/blink/renderer/core/frame/web_local_frame_impl.cc
Estimated timestamp from git blame: 2024-01-09
Summary
There is a potential cross-origin information leak in Chrome's LCP Critical Path Predictor (LCPP) feature. When a navigation is redirected to a new origin, the browser process may fail to clear the LCPP hint associated with the initial origin. This stale hint is then committed to the new origin's renderer. An attacker can exploit this to infer a user's DOM structure on a victim site by observing which lazy-loaded images are eagerly preloaded.
Technical Details
The LCPP feature optimizes page loads by predicting subresources like LCP elements based on historical data. This data is attached to a navigation via NavigationRequest::commit_params_->lcpp_hint.
Root Cause 1: Missing reset in MaybeSetLCPPNavigationHint
In chrome/browser/predictors/loading_predictor_tab_helper.cc, MaybeSetLCPPNavigationHint populates the hint. It is called during DidStartNavigation and DidRedirectNavigation. If a redirect leads to a URL for which the predictor has no data, GetLCPPHint returns std::nullopt. In this case, MaybeSetLCPPNavigationHint returns early without explicitly clearing any existing hint from the navigation_handle.
Root Cause 2: Missing reset in NavigationRequest
In content/browser/renderer_host/navigation_request.cc, OnRequestRedirected resets parameters that should not persist across redirects (e.g., page_state). However, it fails to clear lcpp_hint.
Propagation and Exploitation
Upon commit, content/renderer/render_frame_impl.cc forwards the stale hint to the renderer via frame_->SetLCPPHint().
With the kLCPPLazyLoadImagePreload feature enabled by default, the HTMLPreloadScanner uses the LCPP element locators to eagerly preload images matching the locators, even if they have loading="lazy". An attacker can use this as an XS-Search oracle.
Potential Exploitation Steps
(Note: These are suggested steps; we do not yet have a working proof of concept that has been successfully run.)
- An attacker identifies an open redirect on a victim site (e.g.,
https://victim.example/?redirect=https://attacker.example). - A user who frequently visits the victim site (accumulating LCPP data) clicks the open redirect link.
- During navigation start,
DidStartNavigationattaches the victim's LCPP hint to theNavigationRequest. - During the redirect,
DidRedirectNavigationfinds no LCPP data forattacker.example. It fails to clear the existing hint. - The navigation commits, and the attacker's renderer receives the victim's LCPP hint.
- The attacker's page contains multiple hidden
<img loading="lazy">tags wrapped in various DOM structures (e.g.,<div id="profile"><img class="avatar" loading="lazy">). - The browser eagerly preloads the specific image that matches the victim's leaked LCP element locator, while deferring the others. The attacker observes the fetch on their server, revealing the victim's DOM state.
Suggested Fix
- In
content/browser/renderer_host/navigation_request.cc, updateNavigationRequest::OnRequestRedirectedto clearcommit_params_->lcpp_hintalongside other cross-origin sensitive state. - In
chrome/browser/predictors/loading_predictor_tab_helper.cc, updateMaybeSetLCPPNavigationHintto explicitly clear the hint on thenavigation_handleifGetLCPPHintreturnsstd::nullopt.
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.
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
Likely the browser fails to clear the LCPP hint when a redirect leads to a URL with no predictor data, because the code returns early without resetting the hint.
Impact
An attacker could use this as an XS-Search oracle to infer a user's DOM structure on a victim site, but the report notes that a working proof of concept has not yet been successfully run.
What the attacker needed
Victim site has an open redirect; user frequently visits victim site; user clicks the open redirect link
The fix
The browser should clear the LCPP hint during cross-origin redirects and explicitly clear it when no predictor data is available.
How it was found
- An attacker identifies an open redirect on a victim site.
- A user who frequently visits the victim site clicks the open redirect link.
- During navigation start, the victim's LCPP hint is attached to the navigation request.
- During the redirect, no LCPP data is found for the attacker's site, but the existing hint is not cleared.
- The navigation commits, and the attacker's renderer receives the victim's LCPP hint.
- The attacker's page contains hidden lazy-loaded images in various DOM structures, and the browser eagerly preloads the one matching the leaked locator, revealing the victim's DOM state.
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 you visit a website, the browser sometimes remembers hints about which images are important so it can load them faster next time. If you then get redirected to a different website, the browser should forget those hints, but here it didn't. That means the new website could learn something about what the old website looked like for you, which is a privacy leak.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.