Side-channel information leakage in PerformanceAPIs (CVE-2026-11284)
The Long Animation Frame API exposes style, layout and blocking durations with microsecond precision instead of the usual coarsened resolution, and because same-site cross-origin iframes share a renderer process their timings are aggregated. A malicious parent page could use this high-resolution timing channel to infer private state inside a cross-origin child iframe, such as DOM structure or visited link status.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 51 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: The Long Animation Frame (LoAF) API exposes style, layout, and blocking durations with microsecond precision, bypassing standard time coarsening mitigations. Because same-site, cross-origin iframes share a local frame tree on desktop, their computation times are aggregated together. This allows a malicious parent frame to conduct high-precision XS-Leak timing attacks against cross-origin child iframes.
Affected files:
third_party/blink/renderer/core/timing/performance_long_animation_frame_timing.ccthird_party/blink/renderer/core/frame/animation_frame_timing_monitor.ccthird_party/blink/renderer/core/timing/performance_long_animation_frame_timing.h
Estimated timestamp from git blame: 2026-03-05
Summary
The Long Animation Frame (LoAF) API fails to apply standard time coarsening to several exposed duration attributes. styleDuration, layoutDuration, and blockingDuration are exposed to JavaScript with raw microsecond precision. This bypasses the typical 100 µs TimeClamper mitigation designed to prevent timing attacks.
Vulnerability Details
In Blink, performance APIs generally coarsen time values (via Performance::MonotonicTimeToDOMHighResTimeStamp and TimeClamper) before exposing them to the web. However, in third_party/blink/renderer/core/timing/performance_long_animation_frame_timing.cc, the LoAF constructor directly initializes several durations using base::TimeDelta::InMillisecondsF():
blocking_duration_(info->TotalBlockingDuration().InMillisecondsF()),
style_duration_(info->StyleDuration().InMillisecondsF()),
layout_duration_(info->LayoutDuration().InMillisecondsF())
These durations originate from AnimationFrameTimingMonitor, which uses high-resolution base::TimeTicks::Now() to measure probe::RecalculateStyle and probe::UpdateLayout events.
Critically, same-site cross-origin iframes (e.g., a.example.com and b.example.com) typically share a renderer process on desktop platforms. As a result, they share the same local frame tree and inherit the same CoreProbeSink. The AnimationFrameTimingMonitor attached to the parent frame's CoreProbeSink will aggregate style and layout durations from all frames in the tree, including the cross-origin child iframe.
Impact
A malicious parent frame can observe the aggregated styleDuration and layoutDuration of a cross-origin child iframe at 1 µs granularity. This high-resolution timing channel facilitates Cross-Site Leaks (XS-Leaks), allowing attackers to reliably infer private cross-origin state, such as the presence of specific DOM structures or :visited link status inside the iframe.
Potential Reproduction Steps
Note: The following are suggested steps to trigger the vulnerability; our tooling agent does not have the ability to run code or execute a working Proof of Concept.
- Host a malicious page on
a.example.comthat embeds a child iframe pointing tob.example.com. - In the parent page, register a
PerformanceObserverfor the'long-animation-frame'entry type. (Note: this feature may require enabling experimental web platform features or an Origin Trial token forLongAnimationFrameStyleDuration). - Schedule a
requestAnimationFramecallback in the parent. Inside it, execute a busy-loop for >50ms to force the browser to generate a Long Animation Frame entry. - Simultaneously, trigger a style/layout change in the child iframe (e.g., by resizing the iframe container or having it load a specific payload).
- When the
PerformanceObservercallback fires, inspect thestyleDurationandlayoutDurationproperties on thePerformanceLongAnimationFrameTimingentry. - Observe that the values have microsecond precision (e.g.,
x.xx1ms), leaking the exact computation time of the cross-origin child's rendering update.
Suggested Fix
The duration values should be appropriately coarsened before being exposed to JavaScript. A standard approach is to pass the base::TimeDelta through a dedicated clamping function similar to TimeClamper::ClampTimeResolution(). Alternatively, durations could be computed by taking the difference of already-clamped start and end timestamps, ensuring the resulting duration aligns with the browser's intended security resolution (e.g., 100 µs).
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.
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 LoAF constructor converts internal high-resolution durations directly to floating-point milliseconds without passing them through the browser's time-clamping mechanism.
Impact
A malicious parent frame could infer private cross-origin state such as DOM structure or visited link status inside a same-site child iframe, though the report notes the feature may require experimental flags or an origin trial token.
What the attacker needed
Same-site cross-origin iframe on desktop; experimental flag or origin trial token; attacker controls parent page
The fix
The duration values should be coarsened before being exposed to JavaScript, for example by passing them through a clamping function or by subtracting already-clamped timestamps.
How it was found
- Host a malicious page that embeds a child iframe from a different same-site origin.
- Register a PerformanceObserver for long-animation-frame entries in the parent page.
- Schedule a requestAnimationFrame callback that busy-loops for over 50ms to force a long animation frame entry.
- At the same time, trigger a style or layout change in the child iframe.
- When the observer fires, read the styleDuration and layoutDuration properties.
- Observe that the values have microsecond precision, leaking the child's rendering time.
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 down very precise timers so that a website cannot measure tiny delays to guess secret information about another site. Here, a newer performance feature reported how long style and layout work took with far too much precision. Because two related sites can share one browser process, a malicious page could measure the work done inside an embedded page from another site and learn things it should not know.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.