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

Insufficient policy enforcement in ViewTransitions (CVE-2026-8537)

The same-origin check guarding Chrome's ViewTransition snapshot during prerender activation compared the initially requested URL rather than the page's actual committed origin. A same-site cross-origin page reached via a redirect could therefore receive pixel snapshots and DOM layout metadata from a victim page.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 50 days

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

Overview: A potential vulnerability in Chrome's ViewTransition mechanism may allow a same-site cross-origin renderer to receive pixel snapshots and DOM metadata from a victim page. This occurs because the same-origin security check during prerender activation relies on the initial requested URL rather than the actual committed origin of the redirected prerendered page. This could result in a cross-origin information leak if an attacker controls the redirection destination.

Affected files:

  • content/browser/renderer_host/view_transition_commit_deferring_condition.cc
  • content/browser/renderer_host/navigation_request.cc
  • content/browser/preloading/prerender/prerender_host.cc

Estimated timestamp from git blame: 2024-05-13

Summary

A potential vulnerability exists in the ViewTransition implementation where the same-origin security gate can be bypassed during prerender activation. This allows a same-site cross-origin page (e.g., sub2.example.com) to obtain pixel snapshots and DOM layout metadata from a victim page (e.g., sub1.example.com).

The core issue is that the check in ViewTransitionCommitDeferringCondition relies on NavigationRequest::GetTentativeOriginAtRequestTime(), which is derived from the navigation's initial requested URL. If a prerendered page redirects to a same-site cross-origin destination (allowed via the Supports-Loading-Mode: credentialed-prerender header), the actual committed origin of the prerendered page diverges from the initial URL used for the same-origin gate.

Vulnerability Details

When a navigation involves a ViewTransition, the browser captures a snapshot of the current page to facilitate smooth animations. This snapshot includes GPU-side pixel references and sensitive DOM metadata such as bounding rects, CSS properties, and tag names. To prevent cross-origin information leaks, this state must only be delivered to a destination that is same-origin with the source.

During prerender activation:

  1. ViewTransitionCommitDeferringCondition::MaybeCreate performs a same-origin check by comparing the old_rfh->GetLastCommittedOrigin() against navigation_request->GetTentativeOriginAtRequestTime() when is_running_potential_prerender_activation_checks() is true.
  2. GetTentativeOriginAtRequestTime() returns an origin based on the activation navigation's requested URL (the common_params_->url).
  3. In a scenario where a prerender for sub1.example.com/redirect was initiated, the PrerenderHost matches based on this initial URL even if the navigation redirected to and committed at sub2.example.com (using the credentialed-prerender opt-in).
  4. The ViewTransition gate compares the source origin (sub1.example.com) against the tentative origin of the requested URL (sub1.example.com) and passes, allowing the snapshot to be captured.
  5. After the gate passes, NavigationRequest::OnPrerenderingActivationChecksComplete proceeds with activation.
  6. Later in the activation process (within NavigationRequest::CommitPageActivation), common_params_->url is updated to the prerendered page's actual committed URL (rfh->GetLastCommittedURL()), but this occurs after the gate has already permitted the transition.
  7. The ViewTransitionState is then transferred to the stored page and delivered to the sub2.example.com renderer via the ActivatePrerenderedPage Mojo IPC without re-evaluating the origin.

Potential Attack Scenario

Note: These are suggested steps for a potential exploit path.

  1. Setup: An attacker controls sub2.example.com; the victim controls sub1.example.com (both share the same eTLD+1).
  2. Victim Configuration: The victim page at sub1.example.com uses @view-transition { navigation: auto; } and speculation rules to prerender same-origin links.
  3. Redirect: The victim site contains a URL sub1.example.com/redirect that HTTP-redirects to sub2.example.com/attacker-page.
  4. Attacker Configuration: sub2.example.com/attacker-page responds with the header Supports-Loading-Mode: credentialed-prerender to permit the same-site cross-origin prerender.
  5. Trigger: A user on the victim site triggers a prerender of sub1.example.com/redirect. The prerender redirects and commits at the attacker's origin (sub2.example.com).
  6. Activation: The user clicks the link to sub1.example.com/redirect. The browser captures a snapshot of the victim's page. Because the ViewTransition gate validates against the requested URL (sub1.example.com/redirect) rather than the actual committed origin (sub2.example.com), the check incorrectly passes.
  7. Exfiltration: The attacker's renderer receives the snapshot and DOM metadata, which can be accessed via CSS pseudo-elements (::view-transition-old()) and JavaScript (getComputedStyle()).

Suggested Fix

During prerender activation, ViewTransitionCommitDeferringCondition::MaybeCreate should not rely solely on the initial tentative origin. Since the prerendered page has already committed in the background, the deferring condition should verify the same-origin requirement against the actual committed origin of the target RenderFrameHost associated with the matched PrerenderHost. Additionally or alternatively, NavigationRequest::CommitPageActivation should re-verify the origin after updating common_params_->url and clear the ViewTransitionState if it violates the same-origin policy.

Evaluated with Chrome root at commit: bb48272cafb7e24c93f55ef40da398cd206ee651


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. Please feel free to reach out to me if you have concerns or feedback.

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 ViewTransition deferring condition validated the same-origin requirement against the navigation's tentative origin from the requested URL, which diverges from the committed origin after a same-site cross-origin redirect during prerender activation.

Impact

A same-site cross-origin attacker could obtain pixel snapshots and DOM layout metadata of a victim page, a cross-origin information leak; the text presents this as a potential issue with suggested steps rather than a demonstrated exploit.

What the attacker needed

Attacker controls a same-site subdomain; victim site uses view transitions and prerender; victim URL redirects to attacker page; attacker page sends credentialed-prerender header

The fix

The check should compare against the actual committed origin of the matched prerendered frame, or re-verify the origin after the URL is updated and clear the transition state if it fails.

How it was found

  1. Victim page uses view transitions and speculation rules to prerender same-origin links.
  2. A victim URL redirects to an attacker-controlled same-site subdomain.
  3. The attacker page opts in to credentialed prerender with a response header.
  4. A prerender of the victim redirect URL commits at the attacker origin.
  5. The user clicks the link, the snapshot is captured and the origin gate passes.
  6. The attacker renderer receives the snapshot and DOM metadata.

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 navigate between pages, Chrome can take a picture of the old page and pass some layout details to the new one so the change animates smoothly. That handover is only meant to happen between pages on the same site origin, but here the check looked at the address first asked for instead of where the page actually ended up after a redirect. A page on a different subdomain could then receive details about the victim's page.

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.