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

UI misrepresentation in Session (CVE-2026-87445)

The media session metadata builder derived the displayed source origin for about:blank popups by walking the opener chain and reading each ancestor's current URL, rather than the popup's inherited security origin. An attacker could open a popup, navigate their own window to a victim site, and have trusted browser UI such as Global Media Controls and Picture-in-Picture label attacker-controlled media with the victim's origin.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: MediaSessionImpl::BuildMetadata incorrectly identifies the source origin for about:blank popups by traversing the window opener chain and using the opener's current URL. An attacker can exploit this to spoof a victim site's origin in Global Media Controls and Picture-in-Picture overlays.

Affected files:

  • content/browser/media/session/media_session_impl.cc

Estimated timestamp from git blame: 2026-01-23

The MediaSessionImpl::BuildMetadata function determines the source_title (origin label) displayed in trusted browser UI components, such as Global Media Controls (GMC), Picture-in-Picture (PiP) window labels, and the ChromeOS lock screen.

A logic vulnerability exists in how this origin is calculated for pages with opaque origins, such as about:blank popups. The implementation currently creates a temporary origin from the frame's URL string using url::Origin::Create(web_contents()->GetLastCommittedURL()). For about:blank, this results in an opaque origin that lacks precursor information. To find a displayable origin, the code then enters a loop that follows the popup's opener chain using GetOpener() and evaluates each ancestor's current last committed URL.

Because the window opener relationship persists across cross-origin navigations (unless restricted by COOP), an attacker can open a popup, navigate their own main window to a target victim site, and then update the popup's media metadata. The browser will traverse the opener chain, see the victim site's current URL, and use it as the source label for the attacker-controlled media.

Potential Attack Scenario

  1. A user visits https://attacker.com, which opens a popup to about:blank via window.open().
  2. The popup starts media playback (e.g., a hidden audio element) and sets navigator.mediaSession.metadata.
  3. The original attacker window navigates itself to https://trusted-site.com.
  4. The popup updates its metadata with phishing content (e.g., "Security Alert: Sign-in Required").
  5. When MediaSessionImpl::BuildMetadata runs, it traverses the opener chain from the about:blank popup. It reaches the opener window, sees its current URL is https://trusted-site.com, and uses this origin as the source_title.
  6. Trusted browser surfaces like GMC and PiP overlays display "trusted-site.com" as the source of the attacker's media and metadata.

Recommended Fix

Replace the use of url::Origin::Create(web_contents()->GetLastCommittedURL()) and the subsequent manual opener traversal loop with a direct call to the frame's security origin: web_contents()->GetPrimaryMainFrame()->GetLastCommittedOrigin(). This returns the correctly inherited security origin for about:blank popups, which already contains the proper precursor origin (the origin that launched the popup), preventing spoofing based on the opener's current state.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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 code rebuilt an origin from the frame's URL string and then followed the opener chain using each ancestor's current URL, instead of using the frame's inherited security origin which carries the correct precursor.

Impact

Attacker-controlled media and metadata could be shown in trusted browser UI as coming from a victim site, which could support phishing; the text notes the opener relationship persists across cross-origin navigations unless restricted by COOP.

What the attacker needed

Victim visits attacker-controlled site; popup not separated by COOP

The fix

The manual origin construction and opener traversal should be replaced with a call to the primary main frame's last committed origin, which already carries the correct precursor for about:blank popups.

How it was found

  1. The user visits the attacker's site, which opens an about:blank popup.
  2. The popup starts media playback and sets its media session metadata.
  3. The attacker's original window navigates itself to a trusted site.
  4. The popup updates its metadata with phishing content.
  5. The metadata builder walks the opener chain, sees the trusted site's current URL, and uses it as the source label.
  6. Trusted browser surfaces display the trusted site as the source of the attacker's media.

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.

Some browser features show a small label telling you which website a piece of media comes from, so you can trust it. For popup windows that start blank, the browser tried to work out that label by looking at the page that opened the popup, but it looked at what that page shows right now instead of what it was when the popup opened. That let an attacker make the label show a trusted site's name while the media was really theirs.

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.