{"id":"CVE-2026-73422","published":"2026-08-12T20:32:56Z","modified":"2026-08-14T22:12:40Z","title":"Astro: Reflected XSS via unescaped View Transition animation properties","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.39431,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-4g3v-8h47-v7g6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17393","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.89},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 2.9.0, < 7.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T22:12:08.649209Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":[">=2.9.0, <7.1.0"],"patched":["7.1.0"],"from":["GHSA-4g3v-8h47-v7g6"],"provenance":"source"}],"summary":{"text":"Astro's server-side View Transition CSS generator, in the astro package's runtime transition code, fails to escape animation property values such as duration before inserting them into an inline style element, enabling reflected cross-site scripting. An attacker can exploit this over the network by supplying crafted data that reaches a View Transition animation definition on an on-demand or server-rendered route, and the attack requires user interaction, such as the victim visiting a crafted link, before arbitrary JavaScript runs in the application's origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:34Z"},"euvd":{"id":"EUVD-2026-57606","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2025-61925","parents":[{"from":"CVE-2026-45028","to":"CVE-2026-73422","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/runtime/server/render/server-islands.ts"],"commits":["https://github.com/withastro/astro/commit/3d82220a1549e699e34ed433f3846a919f4c02bd","https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b"],"basis":"shared function","functions":["ServerIslandComponent"]}]}],"children":[{"from":"CVE-2026-73422","to":"CVE-2026-114127","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/runtime/server/transition.ts"],"commits":["https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb","https://github.com/withastro/astro/commit/092da560eea77ee63a3e2c583c80d8238544e42b"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-59727","published":"2026-07-27","fixed":"7.0.4","kev":false},{"cve":"CVE-2026-59729","published":"2026-07-27","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73423","published":"2026-08-12","fixed":"7.0.6","kev":false,"link":{"from":"CVE-2026-73423","to":"CVE-2026-73422","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.0.6","toFixed":"7.1.0","daysApart":0}]}},{"cve":"CVE-2026-73422","published":"2026-08-12","fixed":"7.1.0","kev":false},{"cve":"CVE-2026-84376","published":"2026-09-02","fixed":"7.2.4","kev":false,"link":{"from":"CVE-2026-73422","to":"CVE-2026-84376","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.1.0","toFixed":"7.2.4","daysApart":21}]}},{"cve":"CVE-2026-114128","published":"2026-10-21","fixed":"7.3.2","kev":false},{"cve":"CVE-2026-114127","published":"2026-10-21","fixed":"7.3.3","kev":false}],"package":"npm:astro"}}