Skip to content
Info disclosure Advisory Advanced CVE-2026-8010

Insufficient validation of untrusted input in SiteIsolation (CVE-2026-8010)

A compromised out-of-process iframe can send a Mojo IPC message with arbitrary coordinates to the browser process, which forwards it to the main frame's renderer without bounds checking. The renderer then performs an unconstrained hit-test, and the resulting page scale and scroll offset changes are broadcast to all frames, allowing the attacker to infer the size and position of cross-origin elements.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 41 days

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A compromised Out-of-Process iframe (OOPIF) can bypass Site Isolation by sending a ZoomToFindInPageRectInMainFrame Mojo IPC to the browser process with arbitrary coordinates. The browser forwards this request to the main frame's renderer without bounds checking, triggering an unconstrained hit-test that ignores viewport clipping. By observing the resulting page scale and scroll offset changes, the attacker can infer the size, position, and presence of cross-origin elements in the main frame.

Affected files:

  • content/browser/renderer_host/render_widget_host_impl.cc
  • third_party/blink/renderer/core/exported/web_view_impl.cc
  • third_party/blink/renderer/core/frame/web_frame_widget_impl.cc
  • content/browser/renderer_host/render_view_host_impl.cc

Estimated timestamp from git blame: 2025-06-04

Summary

A compromised Out-of-Process iframe (OOPIF) can send a ZoomToFindInPageRectInMainFrame Mojo IPC message to the browser process, specifying arbitrary coordinates within the main frame. The browser process forwards this request to the main frame's renderer without verifying that the coordinates fall within the subframe's visible bounds. The main frame renderer then performs an unconstrained hit-test (ignoring viewport clipping) at the target coordinates. If an element is hit, the renderer calculates a new page scale factor based on the element's width and a new scroll offset based on its position, triggering a zoom animation.

Because these new visual properties are broadcasted back to all frames (including the attacker's OOPIF), the attacker can observe the resulting page scale (window.visualViewport.scale) and deduce the exact width of the cross-origin element. By systematically probing different coordinates, the attacker can map the layout of the main frame's DOM, bypassing Site Isolation protections and potentially leaking sensitive user data or application state.

Potential Attacker Steps

Note: These steps describe a potential attack path. A full working Proof of Concept has not yet been developed or executed by this agent.

  1. Attacker Compromise: The attacker compromises an Out-of-Process iframe (OOPIF) running in a separate renderer process, gaining the ability to execute arbitrary code within that renderer.
  2. Crafting the Payload: The compromised OOPIF renderer crafts a malicious gfx::Rect representing target coordinates it wishes to probe within the main frame's document. The coordinates are chosen relative to the iframe's local coordinate space.
  3. Sending the IPC: The OOPIF renderer sends a FrameWidgetHost::ZoomToFindInPageRectInMainFrame Mojo IPC message to the browser process, passing the crafted gfx::Rect. This interface is accessible to subframes and is defined in third_party/blink/public/mojom/page/widget.mojom:211.
  4. Browser Processing: The browser process receives this IPC in RenderWidgetHostImpl::ZoomToFindInPageRectInMainFrame (content/browser/renderer_host/render_widget_host_impl.cc:3956).
  5. Missing Bounds Check: TransformPointAndRectToRootView (content/browser/renderer_host/render_widget_host_impl.cc:3913) translates the coordinates but fails to clip the transformed rect to the subframe's actual visible boundaries.
  6. Forwarding to Main Frame: The browser forwards the unclipped rectangle to the main frame's RenderViewHostImpl, which sends a ZoomToFindInPageRect Mojo message to the main frame's renderer process.
  7. Initiating Hit Test: WebViewImpl::ZoomToFindInPageRect (third_party/blink/renderer/core/exported/web_view_impl.cc:1009) calls MainFrameImpl()->FrameWidgetImpl()->ComputeBlockBound(...) with ignore_clipping=true.
  8. Unconstrained DOM Traversal: The renderer performs a hit test using HitTestResultAtLocation. Due to kIgnoreClipping, the hit test ignores the main frame's viewport clipping boundaries, reaching off-screen elements.
  9. Presence Oracle: If no element is hit, the function returns early (third_party/blink/renderer/core/exported/web_view_impl.cc:1018). This provides a binary oracle: side effects only occur if an element exists at the target coordinates.
  10. Width & Position Oracle: If an element is hit, ComputeScaleAndScrollForBlockRect calculates a new page scale factor based on the hit block's width (third_party/blink/renderer/core/exported/web_view_impl.cc:819) and a new scroll offset (third_party/blink/renderer/core/exported/web_view_impl.cc:854).
  11. Applying Side Effects: WebViewImpl::ZoomToFindInPageRect applies these values via StartPageScaleAnimation (third_party/blink/renderer/core/exported/web_view_impl.cc:1031).
  12. Observing the Leak: The new page scale factor and scroll offset are synchronized to the browser and broadcasted to all frames via VisualProperties updates. The attacker's OOPIF observes the scale directly (e.g., window.visualViewport.scale), mathematically deriving the exact width of the cross-origin element. Iterative probing allows systematic mapping of the main frame's layout.

Suggested Fix

  1. Browser-Side Validation: RenderWidgetHostImpl::ZoomToFindInPageRectInMainFrame must validate that the requested rect_to_zoom falls entirely within the bounds of the sender's subframe (e.g., by intersecting it with the subframe's known visible rect). Requests specifying coordinates outside the subframe should be dropped or treated as a bad message.
  2. Verify Find-in-Page State: The browser should only accept ZoomToFindInPageRectInMainFrame IPCs if a legitimate Find-in-Page session is active and the requesting frame actually contains the highlighted find result. A subframe should not be able to trigger this zoom animation arbitrarily at any time.

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.

How it worked

Root cause

Likely the browser process failed to validate that the coordinates in the ZoomToFindInPageRectInMainFrame IPC message fell within the sending subframe's visible bounds before forwarding them to the main frame's renderer.

Impact

An attacker could bypass Site Isolation to infer the size, position, and presence of cross-origin elements in the main frame, potentially leaking sensitive user data or application state.

What the attacker needed

Compromised OOPIF renderer; ability to send Mojo IPC

The fix

The browser should validate that the requested rectangle falls entirely within the sender's subframe bounds and only accept the IPC when a legitimate Find-in-Page session is active.

How it was found

  1. Compromise an out-of-process iframe to gain code execution in its renderer.
  2. Craft a rectangle with target coordinates relative to the iframe's local space.
  3. Send a ZoomToFindInPageRectInMainFrame Mojo IPC message with the crafted rectangle to the browser process.
  4. The browser process receives the message and translates the coordinates without clipping to the subframe's visible boundaries.
  5. The browser forwards the unclipped rectangle to the main frame's renderer, which performs a hit-test ignoring viewport clipping.
  6. Observe the resulting page scale and scroll offset changes broadcast to all frames to infer element properties.

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 website can contain frames from other sites, and normally the browser keeps them isolated so one frame cannot spy on another. Here, a malicious frame could send a special message to the browser asking it to zoom to a specific spot in the main page. Because the browser did not check that the spot was inside the frame, the main page would zoom and scroll, and the malicious frame could see those changes and work out what was on the main page.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.