Insufficient validation of untrusted input in Navigation (CVE-2026-13024)
A debug-only assertion in Chromium's navigation commit handling meant a compromised renderer could send a synthetic commit for a cached subframe and have it accepted in release builds. This could let the renderer overwrite or append session history entries belonging to a foreground cross-origin page, potentially spoofing the frame's origin or injecting content across a Site Isolation boundary.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 28 days
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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logical vulnerability in Back-Forward Cache (BFCache) navigation commit handling potentially allows a compromised renderer to bypass Site Isolation boundaries. By sending a synthetic synchronous commit IPC to a cached subframe, the renderer can manipulate the session history state of a cross-origin page in the foreground. This can result in spoofing the frame's origin or injecting attacker-controlled content.
Affected files:
content/browser/renderer_host/render_frame_host_impl.cccontent/browser/renderer_host/navigation_entry_impl.cccontent/browser/renderer_host/navigation_controller_impl.cccontent/browser/renderer_host/frame_navigation_entry.cc
Estimated timestamp from git blame: 2020-06-10
Description
A potential logic vulnerability exists in Chromium's navigation and Back-Forward Cache (BFCache) state handling. Under specific conditions, a compromised renderer process can exploit this flaw to overwrite or inject cross-origin session history state (FrameNavigationEntry) belonging to a foreground page, potentially leading to a Site Isolation bypass.
Root Cause Analysis
-
Message Filtering in Release Builds: The
mojom::FrameHost::DidCommitProvisionalLoadIPC is dispatched toRenderFrameHostImpl::DidCommitNavigation. The browser-sideBackForwardCacheMessageFilter::WillDispatchdoes not discard these messages in release builds under default logging/dumping policies. InsideRenderFrameHostImpl::DidCommitNavigation(incontent/browser/renderer_host/render_frame_host_impl.cc), the assertion preventing navigation commits while in the back-forward cache is debug-only:C++ DCHECK(!IsInBackForwardCache());In production release builds, this assertion is compiled out, allowing the commit to proceed.
-
Subframe Owner Retention: When a page enters the BFCache, the top-level main frame's
owner_is cleared. However, nested subframeRenderFrameHostImplobjects retain theirowner_pointers (referencing their parentFrameTreeNode), meaning validation checks such asCHECK(owner_)continue to pass. -
Synchronous Commit Route: If the subframe was left unnavigated prior to entering the BFCache,
is_on_initial_empty_document_istrue. By sending a commit toabout:blank, the renderer satisfies the conditions forIsInitialSynchronousAboutBlankCommitand routes the execution along the synchronous commit path, generating a syntheticNavigationRequestin the browser. -
Targeting Active Controller: Since the cached subframe remains associated with the active tab's
FrameTree, callingNavigator::DidNavigateroutes the commit to the activeNavigationControllerImplof the foreground tab (which represents the victim's cross-origin page). -
FrameNavigationEntry Confusion: In
NavigationEntryImpl::AddOrUpdateFrameEntry, the parent node of the BFCached subframe is resolved viaGetTreeNode(FrameTreeNode::From(frame_tree_node->parent())). Because the parent is a main frame,MatchesFrameincorrectly matches it against the root node of the active foreground page'sNavigationEntry. The browser then matches the subframe's unique name against the active page's subframes, allowing the attacker to overwrite the victim'sFrameNavigationEntryfields (e.g.,committed_origin_,site_instance_,page_state_) or append a new entry.
Suggested / Potential Attack Steps (Conceptual)
Note: These steps are based on static code analysis; our tooling does not currently run executable proof-of-concept code.
- A compromised renderer process representing an attacker-controlled origin (e.g.,
https://evil.com) creates a subframe viaCreateChildFramewith a unique name matching a target subframe of a victim site (e.g.,https://victim.com). - The attacker leaves this subframe on its initial empty document.
- The main frame navigates to
https://victim.com, causing theevil.compage to enter the BFCache. - The compromised renderer sends a
DidCommitProvisionalLoadIPC to the cached subframe forabout:blankwithPAGE_TRANSITION_AUTO_SUBFRAMEand attacker-specified sequence numbers/page state. - The active
victim.compage's subframe history entry is modified or appended with the attacker's site instance and page state.
Recommended Remediation
Convert the debug-only assertion in RenderFrameHostImpl::DidCommitNavigation into a security-critical check to safely discard unexpected commits from cached frames in release builds:
if (IsInBackForwardCache()) {
bad_message::ReceivedBadMessage(GetProcess(), bad_message::RFH_COMMIT_WHILE_CACHED);
return;
}
Additionally, ensure that BackForwardCacheMessageFilter strictly rejects or triggers eviction upon receiving any unexpected navigation-related IPCs while the document is cached.
Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
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
The guard against navigation commits from a back-forward cached frame was a debug-only assertion that is compiled out in release builds, so unexpected commits from cached subframes were not rejected.
Impact
A compromised renderer could potentially spoof a frame's origin or inject attacker-controlled content into a cross-origin foreground page, bypassing Site Isolation; the report is based on static analysis only and no working exploit was run.
What the attacker needed
Attacker already controls a renderer process; victim site has a named subframe; attacker page enters back-forward cache
The fix
The debug-only assertion should become a security check that discards commits from cached frames in release builds, and the back-forward cache message filter should reject or evict on unexpected navigation messages.
How it was found
- A compromised renderer on an attacker origin creates a subframe with a unique name matching a target subframe of a victim site.
- The attacker leaves that subframe on its initial empty document.
- The main frame navigates to the victim site, so the attacker page enters the back-forward cache.
- The compromised renderer sends a commit message for the cached subframe to about:blank with attacker-chosen sequence numbers and page state.
- The foreground victim page's subframe history entry is modified or appended with the attacker's site instance and page 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.
A browser keeps separate processes for different websites so one site cannot read another's data; this is called Site Isolation. Here, a page that has already been put aside in a cache (the back-forward cache, which keeps pages alive so the back button is fast) could still send a message that the browser normally only accepts from a live page. Because a safety check only ran in test builds, the browser could accept that message and change the history record of a different website shown in the foreground.
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.