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

Insufficient validation of untrusted input in Media (CVE-2026-11237)

A compromised renderer can send an unvalidated IPC to spoof a tab's audibility state, bypassing the browser's audio monitoring. This allows the renderer to trigger unauthorised Auto-Picture-in-Picture windows and display a false audio indicator.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

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

Overview: A compromised renderer can spoof the audibility state of a tab by sending an unvalidated OnUseAudioServiceChanged IPC to the browser process. This bypasses the actual audio power monitoring, causing the browser to incorrectly register the tab as audible. This spoofed state satisfies the WasRecentlyAudible check, allowing the renderer to trigger unauthorized Auto-Picture-in-Picture windows.

Affected files:

  • content/browser/media/media_web_contents_observer.cc
  • media/mojo/mojom/media_player.mojom
  • chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper.cc
  • content/browser/media/audio_stream_monitor.cc
  • chrome/browser/ui/recently_audible_helper.cc

Estimated timestamp from git blame: 2023-04-13

Background

In Chromium, the browser process normally monitors actual audio output from a tab via the Audio Service to determine if it is "audible." This audibility state is used for various security and UI purposes, including the "Recently Audible" gate for Auto-Picture-in-Picture (Auto-PiP) and the audio indicator (speaker icon) in the tab strip. However, for certain media players (such as Windows MediaFoundation), audio is played outside the standard browser audio service. To support this, the browser allows the renderer to signal that it is not using the audio service, in which case the browser trusts the renderer's reported metadata to determine audibility.

The Vulnerability

The MediaPlayerObserver::OnUseAudioServiceChanged(bool uses_audio_service) IPC (defined in media/mojo/mojom/media_player.mojom) is handled by MediaWebContentsObserver::MediaPlayerObserverHostImpl in the browser process. This IPC sets the uses_audio_service_ flag without any browser-side validation to confirm if the renderer is actually authorized to bypass the Audio Service.

In content/browser/media/media_web_contents_observer.cc:

C++
void MediaWebContentsObserver::MediaPlayerObserverHostImpl::OnUseAudioServiceChanged(bool uses_audio_service) {
  uses_audio_service_ = uses_audio_service;
  NotifyAudioStreamMonitorIfNeeded();
}

When uses_audio_service_ is set to false, NotifyAudioStreamMonitorIfNeeded calculates the audibility client state based purely on renderer-controlled properties:

C++
bool should_add_client = player_info->IsAudible() && !uses_audio_service_;

Where player_info->IsAudible() is defined as:

C++
bool IsAudible() const { return has_audio_ && is_playing_ && !muted_; }

Since has_audio_, is_playing_, and muted_ are all set via unvalidated renderer IPCs (OnMediaMetadataChanged, OnMediaPlaying, and OnMutedStatusChanged), a compromised renderer can trick the browser into explicitly registering the player as an "audible client" in AudioStreamMonitor even if it is producing no sound.

Impact

  1. Auto-PiP Bypass: The AutoPictureInPictureTabHelper::MeetsVideoPlaybackConditions check in chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper.cc requires that WasRecentlyAudible() is true. By spoofing audibility, a compromised renderer can bypass this security gate. If the user is on an origin with high Media Engagement or has allowed Auto-PiP, an attacker can force an always-on-top Picture-in-Picture window (e.g., Document PiP) to open with arbitrary content when the tab is backgrounded. This persistent, always-on-top window can be used for sophisticated phishing attacks.

  2. UI Spoofing: The spoofed audibility state causes the audio indicator (speaker icon) to appear in the tab strip for the silent tab, which is a standalone UI spoofing impact.

Potential Reproduction Steps

Note: Fortify LLM agent does not have the ability to run code, so these are suggested steps based on static analysis.

  1. Use a compromised renderer on an HTTPS origin with high Media Engagement (e.g., youtube.com) or where the user has explicitly allowed Auto-PiP.
  2. Call MediaPlayerHost::OnMediaPlayerAdded() to register a player from the primary main frame.
  3. Send MediaPlayerObserver::OnMediaMetadataChanged(has_audio=true, has_video=true, ...) to set has_audio_ to true.
  4. Send OnMutedStatusChanged(false) to set muted_ to false.
  5. Send OnUseAudioServiceChanged(false) to set uses_audio_service_ to false.
  6. Send OnMediaPlaying() to set is_playing_ to true and acquire system audio focus.
  7. This sequence triggers NotifyAudioStreamMonitorIfNeeded(), which registers the tab as an audible client in the browser process.
  8. Observe the speaker icon appears in the tab strip (UI Spoofing).
  9. Switch to another tab or minimize the window; an Auto-PiP window will be triggered because the WasRecentlyAudible() check is bypassed.

Suggested Fix

Do not unconditionally trust the OnUseAudioServiceChanged IPC from the renderer. The browser should either:

  1. Validate that the specific renderer/origin is authorized to use media players that bypass the Audio Service (e.g., only specific Windows MediaFoundation configurations).
  2. For security gates like Auto-PiP, require actual audio power level monitoring to confirm audibility, regardless of the uses_audio_service_ flag. If a player bypasses the Audio Service, it should not be eligible to bypass the WasRecentlyAudible() requirement for Auto-PiP.

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

The browser process trusts the renderer's `OnUseAudioServiceChanged` IPC without validating whether the renderer is authorised to bypass the audio service, and then uses renderer-controlled flags to determine audibility.

Impact

A compromised renderer could bypass the audibility check to force an always-on-top Picture-in-Picture window for phishing, and spoof the audio indicator in the tab strip.

What the attacker needed

Compromised renderer; HTTPS origin with high media engagement; or user allowed Auto-PiP

The fix

The browser should validate that the renderer is authorised to bypass the audio service, and security gates like Auto-PiP should require actual audio power monitoring regardless of the flag.

How it was found

  1. Use a compromised renderer on an HTTPS origin with high Media Engagement or where Auto-PiP is allowed.
  2. Register a media player from the primary main frame.
  3. Send metadata indicating the player has audio and video.
  4. Send a message that the player is not muted.
  5. Send a message that the player does not use the audio service.
  6. Send a message that the player is playing, which registers the tab as audible and triggers the speaker icon and Auto-PiP.

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.

In a web browser, the part that runs web pages (the renderer) is kept separate from the part that controls the browser (the browser process). Normally, the browser process checks if a tab is really making sound before allowing certain features. Here, the renderer can lie about whether it is using the normal audio system, and the browser believes it, so the browser thinks the tab is audible when it is not. This lets a malicious page open a floating video window without permission.

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.