Skip to content
Access control Advisory Advanced CVE-2026-79066

Improper input validation in Navigation (CVE-2026-79066)

A logic flaw in the browser's validation of committed navigation parameters lets a compromised renderer spoof the URL of a blocked subframe navigation. The attacker can then trick the browser into believing the renderer is allowed to run extension content scripts for an arbitrary origin, leading to universal cross-site scripting and credential theft.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A logic flaw in RenderFrameHostImpl::ValidateDidCommitParams allows a compromised renderer to spoof the committed URL of a subframe during a blocked navigation (e.g., ERR_BLOCKED_BY_CSP). Because error-page isolation is disabled for subframes, critical Site Isolation checks are bypassed, enabling the renderer to inject an arbitrary URL into the browser's navigation state and gain unauthorized extension privileges.

Affected files:

  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/renderer_host/navigation_controller_impl.cc
  • content/browser/renderer_host/navigation_request.cc
  • content/public/browser/content_browser_client.cc

Estimated timestamp from git blame: 2025-05-08

Vulnerability Mechanism

When a renderer-initiated subframe navigation is blocked (e.g., by a CSP), the browser attempts to commit an error page. In NavigationRequest::ComputeErrorPageProcess(), the browser determines which process should host the error page. Because error-page isolation is typically disabled for subframes (SiteIsolationPolicy::IsErrorPageIsolationEnabled returns false), the browser decides to commit the error page in the current (potentially compromised) renderer process.

The browser sends a CommitFailedNavigation IPC to the renderer. A compromised renderer can respond with a malicious DidCommitProvisionalLoad IPC, setting params.url to an arbitrary cross-origin URL (e.g., https://victim.com/secret) while setting params.origin to an opaque origin ("null").

During validation in RenderFrameHostImpl::ValidateDidCommitParams, the browser calls ShouldBypassSecurityChecksForErrorPage. This returns true because error page isolation is disabled for the subframe and the error is a blocked request type. Crucially, when bypass_checks_for_error_page is true, the browser skips the call to ValidateURLAndOrigin entirely. This skips the critical ChildProcessSecurityPolicyImpl::CanCommitOriginAndUrl check, which would normally verify if the renderer's ProcessLock is compatible with https://victim.com.

The browser only performs an opaque origin check and calls RenderProcessHostImpl::FilterURL. FilterURL only checks if the URL scheme is web-safe, so https://victim.com/secret passes. Consequently, the spoofed parameters are accepted, and the browser updates its internal last_committed_url_ and FrameNavigationEntry with the attacker-controlled URL.

Security Impact

This bypasses Site Isolation and allows a compromised renderer to spoof the committed URL of a subframe. When the navigation finishes, ScriptInjectionTracker::DidFinishNavigation reads this spoofed URL and updates the RenderProcessHostUserData state. It incorrectly records that the compromised renderer is permitted to execute extension content scripts for victim.com. The attacker can then use IPC messages to impersonate these extension content scripts, achieving Universal XSS (UXSS) and credential theft.

Potential Reproduction Steps

Note: These are suggested steps; our tooling does not yet have the ability to run code to confirm them.

  1. Compromise a renderer process hosting https://a.com.
  2. In the a.com document, set a CSP such as frame-src 'none'.
  3. Create an iframe and attempt to navigate it to https://victim.com/secret. The browser's CSP throttle blocks this with ERR_BLOCKED_BY_CSP.
  4. The browser sends a CommitFailedNavigation IPC to the compromised renderer.
  5. The renderer responds with a DidCommitProvisionalLoad IPC where params.url is https://victim.com/secret and params.origin is an opaque origin.
  6. ValidateDidCommitParams skips ValidateURLAndOrigin due to the error status and subframe type.
  7. The browser accepts https://victim.com/secret as the last committed URL, granting the compromised renderer access to extension content scripts for that origin.

Suggested Fix

ValidateDidCommitParams should not blindly trust the URL provided by the renderer during error page commits simply because bypass_checks_for_error_page is true. The browser already calculates the expected origin_to_commit for error pages and enforces it. It should also enforce that the committed URL matches the expected URL for the error page, or restrict error page commits to safe URLs like chrome-error://... or about:blank, preventing arbitrary cross-origin http/https URLs from being injected into the browser's navigation state.

Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955


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. 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

Root cause

Likely, the browser skips the URL and origin validation for error-page commits in subframes because error-page isolation is disabled, so it trusts the renderer-supplied URL without verifying it against the expected error-page URL.

Impact

This bypasses Site Isolation and allows a compromised renderer to spoof the committed URL of a subframe, potentially leading to universal XSS and credential theft.

What the attacker needed

Compromised renderer process; ability to send IPC messages

The fix

The browser should enforce that the committed URL matches the expected error-page URL or restrict error-page commits to safe URLs like chrome-error:// or about:blank.

How it was found

  1. Compromise a renderer process hosting a site.
  2. In that site's document, set a CSP that blocks framing.
  3. Create an iframe and try to navigate it to a victim URL; the browser blocks it with an error.
  4. The browser sends a failed-navigation message to the compromised renderer.
  5. The renderer replies with a commit message containing the victim URL and an opaque origin.
  6. The browser accepts the spoofed URL as the last committed URL, granting extension script access for that origin.

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 tries to load another page inside a frame but is blocked (for example by a security rule), the browser shows an error page. The browser normally checks that the address of that error page is safe, but here it skipped that check for frames. A malicious program that has already taken over one part of the browser could lie about the address, making the browser think it is allowed to run code meant for another website.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.