Inappropriate implementation in SiteIsolation (CVE-2026-17659)
The browser's redirect sanitisation for cross-site navigations misses the raw HTTP response headers and the original URL, so a compromised renderer can read full redirect URLs that may contain OAuth tokens. This allows a renderer that has already been compromised to steal sensitive cross-origin data, bypassing Site Isolation.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Flapjack (go/flapjack), an LLM-powered static analysis tool, has identified the following potential security issue.
Overview: NavigationRequest::SanitizeRedirectsForCommit is designed to prevent cross-site leaks by stripping sensitive paths from redirect URLs. However, it fails to sanitize the raw HTTP headers in redirect_response and the original_url field within CommitNavigationParams. A compromised renderer can inspect the CommitNavigation IPC to extract full, unsanitized cross-origin redirect URLs (such as those containing OAuth tokens), leading to a potential Site Isolation bypass.
Affected files:
content/browser/renderer_host/navigation_request.cc
Estimated timestamp from git blame: 2025-06-02
Summary
NavigationRequest::SanitizeRedirectsForCommit is intended to prevent cross-site leaks of sensitive information (such as OAuth tokens embedded in URL parameters) by stripping paths and query parameters from redirect URLs before they are passed to a renderer process via IPC.
However, a review of the sanitization logic in content/browser/renderer_host/navigation_request.cc reveals that it is incomplete. While it successfully sanitizes commit_params->redirects and commit_params->redirect_infos, it fails to cover all fields in CommitNavigationParams that contain redirect information.
A compromised renderer can potentially bypass this sanitization by inspecting the redirect_response array or the original_url field in the mojom::NavigationClient::CommitNavigation IPC.
Vulnerability Details
In content/browser/renderer_host/navigation_request.cc, the function SanitizeRedirectsForCommit performs the following:
- It sanitizes URLs in
commit_params->redirectsby callingDeprecatedGetOriginAsURL(). - It similarly sanitizes
new_urlincommit_params->redirect_infos(excluding the final commit URL).
However, it completely misses the following fields in CommitNavigationParams:
commit_params->redirect_response: This is an array ofnetwork::mojom::URLResponseHeadPtrobjects corresponding to each redirect. Each entry contains rawnet::HttpResponseHeaders. TheLocationheader in these HTTP response headers contains the full, unsanitized URL of the redirect target. A compromised renderer can parse this header to recover the sensitive information thatSanitizeRedirectsForCommitattempted to hide.commit_params->original_url: This field contains the starting URL of the navigation and is also left completely unsanitized, providing another potential bypass for cross-origin information leaks if the initial URL itself contains sensitive data.
Because these fields are serialized and sent to the renderer via the CommitNavigation IPC, an attacker with a compromised renderer (e.g., via a V8 bug) can access them to leak sensitive cross-origin data, which constitutes a Site Isolation bypass.
Potential Exploitation Scenario
Note: As an LLM agent, I cannot run live code, but the following are the theoretical steps an attacker would take to trigger this:
- The attacker compromises the renderer process hosting their site (
https://attacker.com). - The compromised renderer initiates a navigation that involves a sensitive cross-origin redirect chain, for example, an OAuth flow:
https://victim.com/login-> (302 Redirect) ->https://victim.com/auth?token=SECRET_TOKEN-> (302 Redirect) ->https://attacker.com/done. - The browser process follows the redirects. At each step,
NavigationRequest::OnRequestRedirected()pushes the rawURLResponseHeadintocommit_params_->redirect_response. - The navigation eventually commits at the final URL (
https://attacker.com/done), selecting the attacker's already-compromised renderer process to host the document. - The browser process calls
SanitizeRedirectsForCommit, which strips the sensitiveSECRET_TOKENfromcommit_params->redirectsandcommit_params->redirect_infos. - The browser process dispatches the
CommitNavigationIPC to the attacker's renderer. - The attacker's compromised renderer receives the
CommitNavigationIPC, intercepts theCommitNavigationParams, and readscommit_params->redirect_response[0]->headers. - The attacker extracts the
Location: https://victim.com/auth?token=SECRET_TOKENheader, successfully stealing the OAuth token and bypassing Site Isolation.
Proposed Fix
NavigationRequest::SanitizeRedirectsForCommit should be updated to sanitize all fields containing potentially sensitive URL information before the IPC is dispatched to the renderer:
- For each
URLResponseHeadin theredirect_responsevector, theLocationheader within the parsed/raw HTTP headers should be removed or rewritten to only contain the origin. - The
original_urlfield should also be sanitized to its origin (stripping path and query) when the navigation is cross-origin to the destination process.
Evaluated with Chrome root at commit: 9760e6c70cd33a320713361f17c6dcca85648c0f
Results from Flapjack so far have been promising, but it can be wrong in its deductions. At this time, it does not produce proof of concepts or fuzzer tests. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve Flapjack’s 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 sanitisation function only cleans some fields of the navigation parameters and forgets the raw redirect response headers and the original URL.
Impact
A compromised renderer could read sensitive cross-origin redirect URLs, such as OAuth tokens, and thereby bypass Site Isolation; the report is theoretical and no live exploit was run.
What the attacker needed
A compromised renderer process; a navigation with a sensitive cross-origin redirect
The fix
The sanitisation should also strip or rewrite the Location header in each redirect response and sanitise the original URL to its origin before the IPC is sent to the renderer.
How it was found
- Compromise the renderer process hosting the attacker's site.
- Start a navigation that goes through a sensitive cross-origin redirect chain, such as an OAuth flow.
- The browser follows the redirects and stores the raw response headers.
- The navigation commits in the attacker's renderer, which receives the CommitNavigation message.
- The compromised renderer reads the unsanitised redirect response headers and extracts the sensitive URL.
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 redirects to another site, the browser tries to hide sensitive parts of the address (like tokens) from the page's code. This report says the hiding is incomplete: some raw data still reaches the page's code. If an attacker has already taken over that page's code, they could read the hidden tokens.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.