Bug 2514977 (CVE-2026-73422) - CVE-2026-73422 astro: Astro: Arbitrary code execution via unescaped View Transition animation properties
Summary: CVE-2026-73422 astro: Astro: Arbitrary code execution via unescaped View Tran...
Keywords:
Status: NEW
Alias: CVE-2026-73422
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2523529
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-12 20:41 UTC by OSIDB Bzimport
Modified: 2026-08-25 15:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-12 20:41:24 UTC
Astro is a web framework for content-driven websites. From 2.9.0 until 7.1.0, Astro's server-side View Transition CSS generator interpolates animation properties into an inline style element without escaping them for CSS and HTML contexts. An attacker-controlled View Transition animation value such as duration can terminate the generated style element and inject arbitrary HTML or JavaScript. The affected code is packages/astro/src/runtime/server/transition.ts; renderTransition passes sheet.toString() into markHTMLString(), while addAnimationProperty serializes duration through toTimeValue() and also handles easing, direction, delay, fillMode, and name. Exploitation requires an on-demand or server-rendered route to pass attacker-controlled data into a View Transition animation definition and can execute arbitrary JavaScript in the affected application's origin, allowing access to sensitive page data and authenticated actions available to the victim. This issue is fixed in version 7.1.0.


Note You need to log in before you can comment on or make changes to this bug.