# CVE-2026-73422: Astro: Reflected XSS via unescaped View Transition animation properties

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-20T21:08:16.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-4g3v-8h47-v7g6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- withastro astro: >= 2.9.0, < 7.1.0
- astro (npm): from 2.9.0 before 7.1.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-4g3v-8h47-v7g6> (exploit, web)
- <https://github.com/withastro/astro/pull/17393> (web)
- <https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b> (web)
- <https://github.com/withastro/astro/releases/tag/astro@7.1.0> (web)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2026-73422](https://www.cve.org/CVERecord?id=CVE-2026-73422), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-4g3v-8h47-v7g6](https://github.com/advisories/GHSA-4g3v-8h47-v7g6), CC-BY-4.0, modified 2026-08-12
- NVD: [CVE-2026-73422](https://nvd.nist.gov/vuln/detail/CVE-2026-73422), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73422 · Whole record: https://cve.day/CVE-2026-73422.json · Rebuilt by cve.day 2026-11-25T22:59:32.659Z
