Medium severity · published Aug 12, 2026
CVE-2026-73422
Astro: Reflected XSS via unescaped View Transition animation properties
5.3
CVSS
0.5%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
astro · withastro
>= 2.9.0, < 7.1.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-73422
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-73422
github.com
https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b
github.com
https://github.com/withastro/astro/pull/17393
github.com
https://github.com/withastro/astro/releases/tag/astro@7.1.0
github.com
https://github.com/withastro/astro/security/advisories/GHSA-4g3v-8h47-v7g6
More from astro
9.1
CVE-2026-33768
Astro: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`
8.6
CVE-2026-25545
Astro has Full-Read SSRF in error rendering via Host: header injection
8.2
CVE-2026-102984
Astro: Malformed port in the Host header can crash the Node adapter
8.2
CVE-2026-59731
Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch
7.5
CVE-2026-54299
Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)
