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

Missing authorization in Compositing (CVE-2026-113069)

A logic flaw in Viz's frame sink lookup for Region Capture ignores the browser-authorized frame sink ID and searches globally for any sink claiming the crop ID. A compromised renderer could forge capture metadata to hijack an active screen capture session and exfiltrate pixels from a cross-origin iframe in another tab.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 7 months

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

Overview: A logic flaw in Viz's FrameSinkManagerImpl::FindCapturableFrameSink allows a compromised renderer to hijack an active screen capture session. By forging Region Capture metadata, an attacker can force Viz to capture an unrelated tab, bypassing Site Isolation and user consent to exfiltrate cross-origin pixels.

Affected files:

  • components/viz/service/frame_sinks/frame_sink_manager_impl.cc
  • services/viz/public/cpp/compositing/region_capture_bounds_mojom_traits.h
  • content/browser/renderer_host/media/media_stream_dispatcher_host.cc
  • components/viz/service/frame_sinks/video_capture/frame_sink_video_capturer_impl.cc
  • content/browser/renderer_host/media/media_devices_dispatcher_host.cc

Estimated timestamp from git blame: 2026-01-06

Description

There is a potential Site Isolation bypass in the Viz component related to Region Capture. When a capture session is cropped using a RegionCaptureCropId, the target resolution logic in Viz completely ignores the browser-provided, authorized frame_sink_id. Instead, it searches globally across all frame sinks to find one claiming the crop ID.

A compromised renderer can exploit this by minting a legitimate token in one tab, passing it to a compromised renderer in a background tab, and forging CompositorFrame metadata to hijack the capture session. This allows the attacker to steal pixels from cross-origin iframes loaded in the background tab.

Root Cause

In components/viz/service/frame_sinks/frame_sink_manager_impl.cc, the FrameSinkManagerImpl::FindCapturableFrameSink function resolves the capture target.

C++
CapturableFrameSink* FrameSinkManagerImpl::FindCapturableFrameSink(
    const VideoCaptureTarget& target) {
  if (IsRegionCapture(target.sub_target)) {
    const auto crop_id = std::get<RegionCaptureCropId>(target.sub_target);
    for (const auto& id_and_sink : support_map_) { // <-- GLOBAL ITERATION
      const RegionCaptureBounds& bounds =
          id_and_sink.second->current_capture_bounds();
      if (bounds.bounds().contains(crop_id)) {
        return id_and_sink.second;
      }
    }
    return nullptr;
  }
  // ... (code that normally uses target.frame_sink_id is skipped)
}

Because support_map_ contains all CompositorFrameSinkSupport instances across the entire browser, any compromised renderer can claim the crop_id via forged IPC metadata, and Viz will happily attach the capture session to it, completely ignoring the target.frame_sink_id that restricts capture to the user-authorized tab.

Potential Attack Scenario

Note: These are suggested steps based on code analysis; a runnable PoC has not yet been executed.

  1. Setup: An attacker controls Tab A (an ordinary web page) and has compromised the renderer process for Tab C. Tab C embeds a sensitive cross-origin iframe (e.g., banking.com).
  2. Mint Token: Tab A's JavaScript calls CropTarget.fromElement(). The browser securely generates a crop_id token and associates it with Tab A.
  3. Exfiltrate Token: Tab A sends the minted crop_id string to the compromised renderer in Tab C via a side channel (e.g., BroadcastChannel).
  4. Forge Metadata: The compromised renderer in Tab C submits a viz::CompositorFrame with a forged viz::RegionCaptureBounds object in its metadata. This maps the stolen crop_id to a gfx::Rect covering the banking.com iframe.
  5. Initiate Capture: The user is induced to share Tab A (e.g., via getDisplayMedia({preferCurrentTab: true})). Tab A obtains a MediaStreamTrack capturing its own content.
  6. Hijack Target: Tab A calls track.cropTo(crop_id). The browser validates the request (which succeeds since the token was legitimately minted for Tab A) and forwards the VideoCaptureTarget to Viz.
  7. Pixel Exfiltration: Viz's FindCapturableFrameSink ignores Tab A's frame_sink_id, searches support_map_ globally, and finds Tab C's forged claim first. The capture session seamlessly redirects to Tab C, sending the cross-origin banking.com pixels back to Tab A's JavaScript.

Suggested Fix

In FrameSinkManagerImpl::FindCapturableFrameSink, do not iterate over the global support_map_. Instead:

  1. First resolve the legitimate CapturableFrameSink using target.frame_sink_id.
  2. Verify that the resolved frame sink (or its descendants in the surface tree) actually contains the crop_id in their current_capture_bounds_.
  3. Return the specific sink within that authorized surface tree, preventing cross-tree hijacking.

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 capture target resolution iterates over all frame sinks in a global map instead of first resolving the browser-authorized frame sink ID and checking only within that sink's surface tree.

Impact

A compromised renderer could bypass Site Isolation and user consent to exfiltrate cross-origin pixels from a background tab, though the report notes that a runnable proof of concept has not yet been executed.

What the attacker needed

Compromised renderer process; victim shares a tab; cross-origin iframe in another tab

The fix

The function should first resolve the legitimate capturable frame sink using the browser-provided frame sink ID, then verify that the crop ID exists within that sink's surface tree, rather than iterating over the global map.

How it was found

  1. An attacker controls Tab A and has compromised the renderer for Tab C, which embeds a sensitive cross-origin iframe.
  2. Tab A's JavaScript calls CropTarget.fromElement() to mint a crop_id token associated with Tab A.
  3. Tab A sends the minted crop_id to the compromised renderer in Tab C via a side channel such as BroadcastChannel.
  4. The compromised renderer in Tab C submits a CompositorFrame with forged RegionCaptureBounds metadata mapping the stolen crop_id to a rectangle covering the cross-origin iframe.
  5. The user is induced to share Tab A, and Tab A calls track.cropTo(crop_id), which the browser validates and forwards to Viz.
  6. Viz's FindCapturableFrameSink ignores Tab A's frame_sink_id, finds Tab C's forged claim in the global map, and redirects the capture to Tab C, sending cross-origin pixels back to Tab A.

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 share a tab in a browser, the browser is supposed to capture only that tab. This report describes a mistake where the part of the browser that handles capture looks for the requested capture area across all tabs instead of only the tab you agreed to share. A malicious page could then trick the browser into capturing a different tab that contains sensitive content, such as a banking site.

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.