Improper input validation in SiteIsolation (CVE-2026-87553)
A compromised renderer can spoof a flag during navigation commit, causing the browser to treat an insecure origin as trustworthy and broadcast this to other renderers. This lets a cross-process child frame incorrectly obtain a secure context, gaining access to restricted APIs like Service Workers.
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A compromised renderer can spoof the has_potentially_trustworthy_unique_origin flag during a navigation commit. The browser process blindly trusts this flag, stores it, and broadcasts it to sibling renderers. This allows a cross-process child frame to erroneously treat an insecure ancestor as a Secure Context, bypassing W3C requirements for restricted APIs like Service Workers.
A compromised renderer process can send a spoofed has_potentially_trustworthy_unique_origin boolean in the DidCommitProvisionalLoadParams IPC during a navigation commit. The browser process accepts this value without validation and broadcasts it to other renderer processes.
This flaw allows a cross-process descendant frame, which should be considered an insecure context due to an insecure ancestor, to incorrectly obtain isSecureContext=true. This erroneously grants the child frame access to sensitive APIs (e.g., Service Workers, WebAuthn) that are gated behind W3C Secure Contexts requirements (§3.1), completely bypassing the ancestor-chain security check.
Vulnerability Details
Renderer Spoofing: When a navigation commits, the renderer sends a DidCommitProvisionalLoadParams IPC containing the has_potentially_trustworthy_unique_origin flag. A compromised renderer can maliciously set this to true for an opaque origin (e.g., a sandboxed <iframe>).
Lack of Browser Validation: In content/browser/renderer_host/render_frame_host_impl.cc, within RenderFrameHostImpl::DidNavigate, the browser process extracts this flag directly from the IPC parameters and passes it to SetLastCommittedOrigin. Crucially, RenderFrameHostImpl::ValidateDidCommitParams does not validate this specific flag.
C++
A TODO comment in SetLastCommittedOrigin explicitly acknowledges that the browser should calculate this value itself using network::IsOriginPotentiallyTrustworthy() instead of trusting the renderer.
State Replication: SetLastCommittedOrigin calls BrowsingContextState::SetCurrentOrigin, which stores the poisoned flag in the browser's replication_state_ and immediately broadcasts it to all RenderFrameProxyHosts in other renderer processes.
Poisoning the RemoteFrame: In a clean renderer process (e.g., one hosting a cross-origin child frame), RemoteFrame::SetReplicatedOrigin receives the broadcast. It copies the origin and applies the poisoned flag by calling security_origin->SetOpaqueOriginIsPotentiallyTrustworthy(true).
Bypassing the Ancestor Check: When the clean child frame evaluates its secure context status, LocalDOMWindow::HasInsecureContextInAncestors walks up the frame tree. For the spoofed ancestor's RemoteFrame, it calls SecurityOrigin::IsPotentiallyTrustworthy(). Because the origin is opaque, this method returns the poisoned is_opaque_origin_potentially_trustworthy_ flag (true).
Erroneous API Access: The descendant frame's secure_context_mode_ is set to kSecureContext. The clean renderer now erroneously exposes Secure-Context-gated APIs (like Service Workers) to the child frame, despite it having an insecure ancestor.
Furthermore, browser-side checks for API access often fail to re-verify the ancestor chain. For example, ServiceWorkerContainerHostForClient::Register only checks if the frame's own origin is potentially trustworthy, relying on the renderer's isSecureContext evaluation for the ancestor chain requirement.
Potential Reproduction Steps
(Note: These are suggested steps; a working PoC has not been executed yet.)
Host a top-level page (https://top.example) that embeds an attacker-controlled, sandboxed iframe: <iframe sandbox='allow-scripts' src='http://attacker.example/mid.html'>.
mid.html embeds a cross-origin victim iframe: <iframe src='https://victim.example/child.html'>. Due to Site Isolation, child.html is in a different process.
Exploit a vulnerability in the renderer hosting mid.html to achieve RCE.
During the navigation commit for mid.html, use the RCE to modify the DidCommitProvisionalLoadParams IPC, setting has_potentially_trustworthy_unique_origin = true.
The browser receives the IPC, updates its state, and broadcasts the poisoned flag to the clean renderer process hosting child.html.
When child.html commits, its LocalDOMWindow::HasInsecureContextInAncestors check will evaluate the spoofed RemoteFrame as trustworthy.
window.isSecureContext will be true in child.html. If child.html attempts to register a Service Worker (e.g., via an XSS or its own legitimate code), the registration will succeed, compromising the victim's origin.
Suggested Fix
Remove the has_potentially_trustworthy_unique_origin field from mojom::DidCommitProvisionalLoadParams. The browser process should exclusively determine the trustworthiness of an origin during navigation commits.
As noted in the existing TODO in RenderFrameHostImpl::SetLastCommittedOrigin (crbug.com/1153336 or crbug.com/40159049), the browser should check if the origin is opaque and use network::IsOriginPotentiallyTrustworthy() on its precursor origin, rather than trusting the potentially compromised renderer process.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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.
Generating the AI write-up for this report.
This usually takes about 50 seconds. You can read the original meanwhile; this page updates itself.
Writing the technical write-up
Writing the version for beginners
Checking every passage against the original
How it worked
Root cause
The browser process trusts a boolean flag from the renderer during navigation commit without validating it, instead of calculating trustworthiness itself.
Impact
A cross-process child frame could incorrectly obtain a secure context and gain access to restricted APIs such as Service Workers, but the report notes that a working proof of concept has not been executed.
What the attacker needed
Compromised renderer process; ability to modify IPC messages; victim page with cross-origin iframe
The fix
The browser should determine the trustworthiness of an origin itself during navigation commits and not trust the renderer-supplied flag.
How it was found
Host a top-level page that embeds an attacker-controlled, sandboxed iframe.
The sandboxed page embeds a cross-origin victim iframe, which is placed in a different process due to Site Isolation.
Exploit a vulnerability in the renderer hosting the sandboxed page to achieve remote code execution.
During navigation commit, use the code execution to modify the IPC parameters and set the trustworthiness flag to true.
The browser accepts the modified flag, stores it, and broadcasts it to the clean renderer hosting the victim iframe.
The victim iframe then incorrectly sees itself as a secure context and can register a Service Worker.
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.
Generating the AI write-up for this report.
This usually takes about 50 seconds. You can read the original meanwhile; this page updates itself.
Writing the technical write-up
Writing the version for beginners
Checking every passage against the original
A web browser separates different websites into separate processes for safety. This report says that if an attacker can already run code in one of those processes, they can lie to the main browser about whether a page is secure. The browser believes the lie and tells other processes, so a page that should be considered insecure is treated as secure and can use powerful features it should not have.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.