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

Side-channel information leakage in WebXR (CVE-2026-17796)

The WebXR API returned a high-resolution timestamp to JavaScript without applying the browser's usual time coarsening, so the value was microsecond-precise. An attacker could use this precise clock to synchronise timing probes for microarchitectural side-channel attacks such as Spectre.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Flapjack, 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: The WebXR API exposes an unclamped, high-resolution timestamp to JavaScript during immersive sessions, potentially bypassing standard side-channel mitigations. By failing to invoke ClampTimeResolution, requestAnimationFrame and XR object attributes leak microsecond-precise timings. This can be exploited to calibrate high-frequency counters for microarchitectural timing attacks.

Affected files:

  • third_party/blink/renderer/modules/xr/xr_frame_provider.cc
  • third_party/blink/renderer/modules/xr/xr_mesh.cc
  • third_party/blink/renderer/modules/xr/xr_plane.cc

Estimated timestamp from git blame: 2018-07-19

The vulnerability allows an attacker to bypass time-coarsening mitigations, obtaining a microsecond-precision clock via XRSession.requestAnimationFrame and XRMesh/XRPlane.lastChangedTime, which facilitates microarchitectural side-channel attacks like Spectre.

Vulnerability Details

Initial logic and parameters for WebXR session initiation, IPC frame data processing, and internal monotonic time delta synchronization (device_t_0 to renderer_t_N) within XRFrameProvider::UpdateImmersiveFrameTime are validated.

The calculated current_frame_time entirely bypasses Performance::ClampTimeResolution(), directly executing window->document()->Loader()->GetTiming().MonotonicTimeToZeroBasedDocumentTime(current_frame_time).InMillisecondsF().

This mathematically precise, unclamped high_res_now_ms value is instantly surfaced to the attacker's JavaScript via callback_collection_->ExecuteCallbacks() and the last_changed_time_ attributes on meshes and planes, providing the unmitigated high-resolution anchor necessary for a worker-based SharedArrayBuffer side-channel synchronization attack.

Potential Trigger Steps

Note: These are suggested/potential steps; our tooling agent doesn't yet have the ability to run code.

  1. The attacker provisions a WebXR immersive session environment and registers a session.requestAnimationFrame callback.
  2. Standard processing applied to capture the incoming XRFrameData during the frame tick.
  3. The attacker runtime directly accesses the unclamped time argument from the callback (or the .lastChangedTime attribute on XRMesh/XRPlane objects) to anchor and synchronize an external high-frequency counter within a parallel worker, recovering a precise clock for timing probes.

Suggested Fix

Wrap the calculated monotonic time delta in Performance::ClampTimeResolution (or the equivalent TimeClamper::ClampTimeResolution) prior to converting it to InMillisecondsF() and exposing it to WebXR callbacks and object attributes.

Evaluated with Chrome root at commit: b7d0c4d810da1b31400f198c70d9720fc8f0e5a0


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 WebXR frame time calculation skipped the standard time-resolution clamping step before exposing the value to JavaScript.

Impact

An attacker could obtain a microsecond-precision clock that may enable microarchitectural side-channel attacks; the text does not show a working exploit.

What the attacker needed

WebXR immersive session support; attacker-controlled web page

The fix

The calculated time should be passed through the standard time-clamping function before being converted and exposed to WebXR callbacks and attributes.

How it was found

  1. Start a WebXR immersive session and register a requestAnimationFrame callback.
  2. Let the browser process the incoming frame data during the frame tick.
  3. Read the unclamped time value from the callback or from mesh and plane attributes.
  4. Use that value to synchronise a high-frequency counter in a parallel worker.

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.

Browsers normally round timestamps down to a coarse value so that scripts cannot measure tiny time differences, because those differences can reveal secrets held in the processor's memory. Here the WebXR feature handed out a very precise time value instead, which could let a malicious page build a fine-grained clock. That clock is a building block for attacks that guess data by watching how long operations take.

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.