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

Insufficient data validation in Media (CVE-2026-11134)

A logic flaw in Blink's media loader allows a Service Worker to redirect a cross-origin retry back to the same origin, causing authenticated cross-origin data to be merged into a same-origin cache entry without the CORS taint flag. An attacker could then read that cross-origin media data via canvas or Web Audio, bypassing the Same-Origin Policy.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 53 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 Chrome Security team.

Overview: A logic flaw in ResourceMultiBufferDataProvider allows an attacker to bypass origin checks during media retries. By using a Service Worker to redirect a cross-origin retry back to the same origin, authenticated cross-origin data can be merged into a same-origin cache entry without the CORS taint flag. This potentially allows the attacker to read cross-origin media data via <canvas> or Web Audio.

Affected files:

  • third_party/blink/renderer/platform/media/resource_multi_buffer_data_provider.cc
  • third_party/blink/renderer/platform/media/url_index.cc

Estimated timestamp from git blame: 2025-08-11

Summary

A potential vulnerability in Blink's media loader allows a cross-origin information leak. An attacker can use a Service Worker to intercept a retried media request and redirect it in a way that causes authenticated, cross-origin data to be merged into a same-origin buffer. This data can then be read by the attacker using standard web APIs like <canvas> or Web Audio, bypassing the Same-Origin Policy (SOP).

Vulnerability Details

The vulnerability stems from how ResourceMultiBufferDataProvider handles origin checks during redirects and how UrlData merges data:

  1. Stale Origin Check: In ResourceMultiBufferDataProvider::WillFollowRedirect, the security check SecurityOrigin::AreSameOrigin(original_url_, redirects_to_) compares the redirect destination against original_url_. However, original_url_ is initialized once in the constructor. If a request is redirected cross-origin, and a subsequent retry is redirected back to the original origin by a Service Worker, this check evaluates to true.
  2. Bypassed Empty Buffer Check: Because the AreSameOrigin check passes, the vital security check if (url_data_->multibuffer()->map().empty() && fifo_.empty()) is skipped. This allows the redirect to proceed even if the buffers are already full of cross-origin data from the previous target.
  3. Missing Taint Propagation: The loader calls UrlData::RedirectTo to migrate to the new same-origin UrlData. This method calls MultiBuffer::MergeFrom, which copies the cross-origin data blocks but fails to propagate the is_cors_cross_origin_ taint flag. The cross-origin data is now cached as same-origin.

Potential Attack Scenario

An attacker could potentially exploit this via the following steps (note: this is a theoretical sequence, as our tooling cannot currently execute a PoC):

  1. An attacker's page on Origin A (controlled by a Service Worker) starts a media request to https://A/v1 (CORS unspecified).
  2. The server redirects to a victim resource https://B/secret (authenticated via cookies).
  3. The loader follows the redirect, fetching and buffering cross-origin bytes from https://B/secret into a cross-origin UrlData object.
  4. The connection is interrupted (e.g., via the attacker serving a capped 206 response), triggering the loader to schedule a retry to https://B/secret.
  5. The attacker's Service Worker intercepts this cross-origin retry and responds with a redirect back to https://A/v2.
  6. WillFollowRedirect compares https://A/v1 (original_url_) and https://A/v2. They are same-origin, so the empty-buffer check is bypassed.
  7. The Service Worker responds to the https://A/v2 fetch with a basic same-origin response.
  8. The loader calls UrlData::RedirectTo, merging the cross-origin bytes from https://B/secret into the same-origin UrlData for https://A/v2 without setting the is_cors_cross_origin_ flag.
  9. The attacker creates a new <video src="https://A/v2"> element. It hits the per-frame UrlIndex cache, returning the poisoned UrlData.
  10. Because the new element hasn't been redirected and the UrlData is not flagged as cross-origin, the video is not tainted. The attacker reads the victim's bytes using <canvas> or Web Audio.

Suggested Fix

There are two primary areas to address:

  1. Fix the Origin Check in WillFollowRedirect: The comparison should likely validate against the current URL (url_data_->url()) rather than the immutable original_url_, or track if a cross-origin redirect has already occurred to enforce the empty buffer check more strictly.
  2. Ensure Safe Merging in UrlData::RedirectTo: When merging multibuffers during a redirect, the is_cors_cross_origin_ flag (and other relevant security metadata) should be safely transferred or validated to ensure cross-origin data cannot be laundered into a same-origin cache entry.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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 origin check in WillFollowRedirect compares the redirect destination against the original URL rather than the current URL, and the merge in UrlData::RedirectTo fails to propagate the CORS taint flag.

Impact

An attacker could potentially read authenticated cross-origin media data via canvas or Web Audio, bypassing the Same-Origin Policy, though the report notes this is a theoretical sequence and no proof-of-concept was executed.

What the attacker needed

Victim visits attacker's page; attacker controls a Service Worker; victim authenticated to target origin; media request with redirects

The fix

The origin check in WillFollowRedirect should validate against the current URL rather than the immutable original URL, and UrlData::RedirectTo should safely transfer or validate the CORS taint flag when merging multibuffers.

How it was found

  1. An attacker's page on Origin A starts a media request to a URL on A.
  2. The server redirects to a victim resource on Origin B, which is fetched and buffered as cross-origin data.
  3. The connection is interrupted, triggering a retry to the Origin B resource.
  4. The attacker's Service Worker intercepts the retry and redirects back to a URL on Origin A.
  5. The origin check passes because both URLs are on Origin A, bypassing the empty-buffer check.
  6. The cross-origin bytes are merged into a same-origin cache entry without the CORS taint flag, and the attacker reads them via canvas or Web Audio.

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.

Websites are normally prevented from reading data from other websites by the Same-Origin Policy. This report describes a bug in Chrome's media loading code where a malicious website could trick the browser into mixing data from another site into its own cache, then read that data using standard web features like canvas or audio. The attack requires the victim to visit the attacker's page and have a Service Worker installed, and the report notes it is theoretical because no proof-of-concept was executed.

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.