CVE-2026-73422 Astro: Reflected XSS via unescaped View Transition animation properties
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhoai/odh-feature-server-rhel9:1791863220(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| npm astro(npm) | >= 2.9.0, < 7.1.0; >= 2.9.0, <= 7.0.9 | 7.1.0 | Fixed |
| withastro astro | = >= 2.9.0, < 7.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = >= 2.9.0, < 7.1.0 | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9:1791863220(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| npm astro(npm) | >= 2.9.0, <= 7.0.9 | No fix listed |
| npm astro(npm) | >= 2.9.0, < 7.1.0 | 7.1.0 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-4g3v-8h47-v7g6 exploit vendor-advisory
- https://github.com/withastro/astro/pull/17393 patch
- https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b patch
- https://github.com/withastro/astro/releases/tag/astro@7.1.0
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:84734 patch vendor-advisory
- Red Hat Bugzilla 2514977 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product
- ENISA EUVD EUVD-2026-57606 third-party-advisory