Insufficient validation of untrusted input in Printing (CVE-2026-11093)
A missing check in the print preview code allows a compromised renderer that has entered the back-forward cache to trigger a print dialog over a different, cross-origin page and receive that page's URL and title. An attacker could thus leak sensitive information and spoof the user interface.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 57 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 without the security team.
Overview: PrintViewManager::RequestPrintPreview processes IPCs from frames in the Back-Forward Cache (BFCache) because it fails to verify if the frame is active. A compromised renderer can send this IPC after a cross-origin navigation, triggering a print dialog over the new page and causing the browser to leak the new page's URL and title back to the cached attacker frame.
Affected files:
chrome/browser/printing/print_view_manager.ccchrome/browser/ui/webui/print_preview/print_preview_handler.cc
Estimated timestamp from git blame: 2022-02-25
Summary
PrintViewManager::RequestPrintPreview and its callback OnRequestPrintPreviewCallback in the browser process lack a crucial check to ensure that the requesting RenderFrameHost (RFH) is currently active. This oversight allows a compromised renderer that has entered the Back-Forward Cache (BFCache) to send IPCs that trigger a print preview dialog over the user's current, unrelated page. Furthermore, the print preview system inadvertently fetches the URL and title of the new page and sends this sensitive data back to the attacker's cached frame.
Vulnerability Details
- Missing
IsActive()Check: Inchrome/browser/printing/print_view_manager.cc, theRequestPrintPreviewmethod processes theprinting.mojom.PrintManagerHostinterface. The callbackOnRequestPrintPreviewCallbackverifies the sender using!render_frame_host || !render_frame_host->IsRenderFrameLive(). However, frames in the BFCache are considered "live" but not active. The code fails to callrender_frame_host->IsActive(), allowing the request to proceed. - Receiver Persistence: The
content::RenderFrameHostReceiverSetmanaging thePrintManagerHostinterface only removes receivers whenRenderFrameDeletedis called. Since entering the BFCache does not delete the frame, the interface remains fully bound and capable of receiving messages from a malicious renderer. - State Corruption and UI Spoofing: If the attacker sends
RequestPrintPreview({webnode_only: true})from the BFCache,PrintPreviewForWebNode(render_frame_host)is called. This sets thePrintViewManager'sprint_preview_rfh_pointer to the attacker's inactive frame. The browser then opens a tab-modal print preview dialog over the currentWebContents(which now displays a new, cross-origin page), resulting in UI spoofing. - Cross-Origin Information Leak: When the
chrome://printWebUI initializes, it requests preview data. Inchrome/browser/ui/webui/print_preview/print_preview_handler.cc,PrintPreviewHandler::HandleGetPreviewidentifies the initiatorWebContents(the current tab) and reads its title and URL (initiator->GetTitle()andinitiator->GetLastCommittedURL()). Becauseprint_preview_rfh_was set to the attacker's frame in step 3, the handler binds aPrintRenderFrameremote to the attacker's BFCached frame and sends aPrintPreviewIPC containing the victim's URL and title. The attacker's renderer intercepts this IPC to steal the data.
Impact
- Cross-Origin Information Leak: An attacker can silently obtain the URL and title of the page the user navigated to after leaving the attacker-controlled site.
- UI Spoofing: An attacker can display a tab-modal print dialog over an unrelated, sensitive origin, potentially causing confusion or facilitating further spoofing attacks.
Potential Reproduction Steps
(Note: These are suggested steps based on code analysis; our tooling agent cannot execute code to verify.)
- A user navigates to an attacker-controlled site.
- The attacker achieves code execution in the renderer process (e.g., via a separate V8 bug) and binds the
printing.mojom.PrintManagerHostinterface. - The user navigates to a sensitive "victim" site within the same tab. The attacker's page enters the BFCache.
- While in the BFCache, the compromised attacker renderer sends a
RequestPrintPreviewIPC withparams->webnode_onlyset totrue. - A print preview dialog unexpectedly appears over the victim site.
- The attacker renderer intercepts the incoming
PrintPreviewIPC and extracts the victim site's title and URL.
Suggested Fix
Add an IsActive() check to PrintViewManager::OnRequestPrintPreviewCallback:
auto* render_frame_host = content::RenderFrameHost::FromID(rfh_id);
if (!render_frame_host || !render_frame_host->IsRenderFrameLive() ||
!render_frame_host->IsActive())
return;
Other printing IPCs (like SetupScriptedPrintPreview) correctly implement this active check.
Evaluated with Chrome root at commit: f200f57a19490707ff8bc7aa5de3cbc443a3afad
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.
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 print preview request handler only checks that the sending frame is still alive, not that it is the active frame, so a frame in the back-forward cache can still trigger print preview and receive data meant for the current page.
Impact
An attacker could silently obtain the URL and title of a page the user navigated to after leaving the attacker's site, and could display a print dialog over an unrelated origin, potentially facilitating further spoofing.
What the attacker needed
Compromised renderer; victim navigates to another site; attacker page enters back-forward cache
The fix
The handler should be changed to also check that the requesting frame is active before proceeding.
How it was found
- A user navigates to an attacker-controlled site.
- The attacker achieves code execution in the renderer process and binds the printing interface.
- The user navigates to a sensitive site in the same tab, and the attacker's page enters the back-forward cache.
- The attacker's cached renderer sends a print preview request with the webnode-only flag set.
- A print preview dialog appears over the victim site.
- The attacker's renderer intercepts the print preview message and extracts the victim site's title and 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 you navigate away from a page, the browser may keep it in memory (the back-forward cache) so it loads quickly if you go back. The report says a malicious page kept in that cache can still send commands to the browser, and one of those commands makes the browser show a print dialog and reveal the address and title of whatever page you are currently viewing. The fix is to check that the page sending the command is the one currently on screen.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.