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

Observable discrepancy in Animation (CVE-2026-112995)

CSS Scroll Timelines and the ScrollTimeline JavaScript API bypass the masking of Autofill previews in textarea elements, allowing an attacker to leak the length and structure of sensitive Autofill data during the preview phase. The attacker can set a known scroll offset and read the animation progress to reverse-engineer the unmasked maximum scroll offset, potentially deducing the exact characters of the preview text.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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: CSS Scroll Timelines and the ScrollTimeline JS API bypass the masking of Autofill previews in textarea elements. By retrieving raw scroll offsets directly from the layout, an attacker can leak the length and structure of sensitive Autofill data during the preview phase.

Affected files:

  • third_party/blink/renderer/core/animation/scroll_timeline.cc

Estimated timestamp from git blame: 2022-06-27

Summary

A high-precision information leak exists in Blink's animation system where CSS Scroll Timelines (and the JavaScript ScrollTimeline API) can be used to bypass the masking of Autofill previews (SuggestedValue) in <textarea> elements. This allows an attacker to potentially extract the length and structure of sensitive PII (Personally Identifiable Information) before the user has submitted the form.

Description

To protect sensitive data, Chromium masks DOM properties like scrollTop, scrollLeft, scrollWidth, and scrollHeight in HTMLTextAreaElement when an Autofill preview is displayed. This is intended to prevent malicious sites from calculating the dimensions or content of the suggested value (the preview text that appears before a user accepts an Autofill suggestion).

However, the ScrollTimeline implementation accesses the raw, unmasked layout state, completely bypassing the DOM-level protections implemented in the element's getters.

Potential Exploitation Steps

Note: These are theoretical steps, as we have not executed a working proof-of-concept.

  1. An attacker creates a form designed to trigger an Autofill preview containing sensitive data.
  2. The attacker applies animation-timeline: scroll(self) to the <textarea> element, attaching a CSS animation driven by the scroll position.
  3. When the user triggers the Autofill preview, the browser inserts the sensitive text into a placeholder element inside the UserAgent Shadow DOM and masks the standard scroll getters in HTMLTextAreaElement.
  4. The attacker uses JavaScript to set a known scroll offset, e.g., textarea.scrollTop = 1. The setScrollTop function is not masked and applies this 1px offset directly to the underlying PaintLayerScrollableArea.
  5. The Scroll Timeline updates its state via ScrollTimeline::ComputeTimelineState(). It retrieves the unmasked maximum scroll dimensions directly from the layout (scrollable_area->MaximumScrollOffset() - scrollable_area->MinimumScrollOffset()) and calculates the animation progress.
  6. The attacker queries the animation's progress via animation.currentTime.
  7. ScrollSnapshotTimeline::ConvertTimeToProgress() returns the progress as a precise percentage (e.g., (1 / max_offset) * 100).
  8. The attacker mathematically reverses this percentage to discover the exact, unmasked max_offset (and thus the exact dimensions of the preview text).
  9. By manipulating CSS properties like letter-spacing or using custom fonts and repeating the measurement, the attacker can iteratively deduce the exact characters of the sensitive Autofill data.

Suggested Fix

Ensure that Scroll Timelines respect the same privacy boundaries as the DOM. ScrollTimeline::ComputeTimelineState() and related functions should check if the target element is in a preview state (e.g., !SuggestedValue().empty()) and, if so, either disable the timeline or use the masked, fake layout dimensions instead of querying the raw PaintLayerScrollableArea.

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 ScrollTimeline implementation reads raw layout dimensions directly from the scrollable area instead of using the masked values that HTMLTextAreaElement getters provide during an Autofill preview.

Impact

An attacker could potentially extract the length and structure of sensitive PII before the user submits the form, and by manipulating CSS properties or using custom fonts, could iteratively deduce the exact characters of the Autofill data.

What the attacker needed

Victim uses Autofill preview; attacker controls a website; victim visits the attacker's site

The fix

Scroll Timelines should check if the target element is in a preview state and, if so, either disable the timeline or use the masked, fake layout dimensions instead of querying the raw scrollable area.

How it was found

  1. An attacker creates a form designed to trigger an Autofill preview containing sensitive data.
  2. The attacker applies a CSS scroll timeline to the textarea element, attaching an animation driven by scroll position.
  3. When the user triggers the Autofill preview, the browser inserts the sensitive text into a placeholder element and masks the standard scroll getters.
  4. The attacker uses JavaScript to set a known scroll offset on the textarea.
  5. The Scroll Timeline updates its state using unmasked maximum scroll dimensions from the layout and calculates animation progress.
  6. The attacker queries the animation's progress and mathematically reverses it to discover the exact unmasked maximum scroll offset.

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 a website offers to fill in a form for you, it shows a preview of the text it will insert. To keep that preview secret, the browser normally hides the size of the text box from the website's code. This report says a feature called Scroll Timelines can still reveal the size, letting a malicious site figure out how long the secret text is and possibly what it says.

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.