Skip to content
UI spoofing Advisory Advanced CVE-2026-113308

Inappropriate implementation in Core (CVE-2026-113308)

A logic flaw in Chrome's fullscreen enforcement allows a compromised renderer with WebXR permission to bypass the 5-second post-exit cooldown by repeatedly requesting a WebXR session with DOM Overlay, re-arming a waiver that skips transient activation checks. This could enable a persistent fullscreen phishing trap that overrides browser-side security defences.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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: A potential logic flaw in HTML fullscreen enforcement allows a compromised renderer with WebXR permission to bypass the 5-second post-exit cooldown. By repeatedly requesting a WebXR session with DOM Overlay, the waiver can be re-armed to enter fullscreen without requiring or consuming transient activation. This could potentially allow a persistent fullscreen phishing trap that overrides browser-side security defenses.

Affected files:

  • content/browser/renderer_host/render_frame_host_impl.cc
  • content/browser/web_contents/web_contents_impl.cc
  • content/browser/xr/service/vr_service_impl.cc

Estimated timestamp from git blame: 2020-02-21

Potential Root Cause Analysis

When a user exits fullscreen (such as by pressing the Esc key), Chrome enforces a 5-second post-exit cooldown on that origin to prevent fullscreen traps. During this cooldown, any subsequent request to enter HTML fullscreen requires and consumes a fresh transient user activation signal (gesture), bypassing typical gesture-free waivers.

This cooldown is evaluated inside WebContentsImpl::IsTransientActivationRequiredForHtmlFullscreen() (content/browser/web_contents/web_contents_impl.cc):

C++
// Require transient activation shortly after a same-origin WebContents exit.
RenderFrameHostImpl* host = GetPrimaryMainFrame();
auto* last_exits = GetFullscreenUserData(GetBrowserContext())->last_exits();
auto last_exit = last_exits->find(host->GetLastCommittedOrigin());
constexpr base::TimeDelta kCooldown = base::Seconds(5);
if (last_exit != last_exits->end() &&
    base::TimeTicks::Now() < last_exit->second + kCooldown) {
  return true;
}

However, in RenderFrameHostImpl::EnterFullscreen (content/browser/renderer_host/render_frame_host_impl.cc), the transient-activation requirement is evaluated and gated at the call-site as follows:

C++
if (delegate_->IsTransientActivationRequiredForHtmlFullscreen() &&
    !HasSeenRecentXrOverlaySetup()) {

Because HasSeenRecentXrOverlaySetup() is checked as an external logical conjunction ANDed with the return value of IsTransientActivationRequiredForHtmlFullscreen(), if HasSeenRecentXrOverlaySetup() returns true, the entire transient user activation verification and consumption block is skipped. This allows a compromised renderer that has WebXR permission to enter HTML fullscreen without requiring or consuming transient user activation.


Potential Exploit Path / Attack Steps

Note: These are potential steps. Our tooling agent does not have the ability to run code or verify this via a live proof-of-concept.

An attacker on an origin that has previously been granted WebXR permissions (such as immersive-ar or immersive-vr with dom-overlay) could potentially execute the following sequence via a compromised renderer:

  1. Initial Interaction: The user interacts with the page once, granting transient user activation.
  2. WebXR Request: The compromised renderer requests a WebXR session with DOM Overlay support via the Mojo IPC interface VRServiceImpl::RequestSession.
  3. Waiver Armed: The browser-side implementation handles this at content/browser/xr/service/vr_service_impl.cc and calls render_frame_host_->SetIsXrOverlaySetup(), setting last_xr_overlay_setup_time_ and arming a 1-second window.
  4. First Fullscreen Entry: Within 1 second, the page enters fullscreen. Because HasSeenRecentXrOverlaySetup() is true, the browser grants fullscreen without checking or consuming transient user activation on the browser side.
  5. Bypass Local Consumption: The compromised renderer refrains from sending the Mojo activation consumption message to the browser, keeping the browser's transient user activation state active.
  6. User Manual Exit: The user exits fullscreen (e.g., by pressing Esc). WebContentsImpl::ExitFullscreenMode writes the cooldown timestamp to last_exits[origin], but does not clear last_xr_overlay_setup_time_ or the browser-side user activation.
  7. Immediate Re-entry Loop: Upon exit, the compromised renderer immediately requests a new WebXR session. Since the browser-side user activation remains active, the check passes, and SetIsXrOverlaySetup() is called again, re-arming the 1-second window.
  8. Cooldown Bypassed: The compromised renderer immediately calls EnterFullscreen. Although the post-exit cooldown is active, HasSeenRecentXrOverlaySetup() returns true, short-circuiting the check. Fullscreen is re-granted without requiring a new user gesture.
  9. This loop can potentially be repeated indefinitely, trapping the user in a fullscreen loop.

Suggested Remediation

To mitigate this potential bypass, we suggest one of the following changes:

  1. Integrate the Waiver: Move the HasSeenRecentXrOverlaySetup() check inside IsTransientActivationRequiredForHtmlFullscreen(), ensuring it is evaluated below/after the post-exit cooldown check so that the cooldown always takes precedence.
  2. Clear on Exit: Explicitly clear or invalidate last_xr_overlay_setup_time_ in WebContentsImpl::ExitFullscreenMode alongside the writing of last_exits to prevent immediate re-use after a manual exit.

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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

The check for recent WebXR overlay setup is combined with an AND in a way that, when true, skips the entire transient activation requirement, including the post-exit cooldown.

Impact

This could potentially allow a persistent fullscreen phishing trap that overrides browser-side security defences, but the report notes it is a potential issue and the tooling agent could not verify it with a live proof-of-concept.

What the attacker needed

Compromised renderer; WebXR permission granted; user interacts once

The fix

The report suggests moving the WebXR overlay check inside the transient activation requirement function so the cooldown always takes precedence, or clearing the XR overlay setup time on fullscreen exit.

How it was found

  1. The user interacts with the page once, granting transient user activation.
  2. The compromised renderer requests a WebXR session with DOM Overlay support.
  3. The browser sets a recent XR overlay setup time, arming a 1-second window.
  4. Within 1 second, the page enters fullscreen without a transient activation check.
  5. The user exits fullscreen, but the XR overlay setup time is not cleared.
  6. The renderer immediately requests a new WebXR session and enters fullscreen again, bypassing the cooldown.

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 exit fullscreen in a browser, it normally waits a few seconds before letting a site go fullscreen again, to stop sites trapping you. This report says a special feature for virtual reality can be abused to skip that wait, so a malicious page could keep you in fullscreen. The attacker would need to already control the page's code and have VR permission.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.