What’s Vulnerable › Vulnerabilities
CVE-2026-114127: Astro: Arbitrary CSS injection in Astro View Transitions
- Severity: low (CVSS 2.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-21 · updated 2026-10-30
- Weakness: CWE-79
Description
Astro is a web framework for content-driven websites. From 7.1.0 until 7.3.3, Astro's server-side View Transition CSS generator does not keep string animation properties within their generated declarations. An application that passes attacker-controlled data into properties such as duration, delay, easing, direction, fillMode, or animation names can allow CSS delimiters to terminate the declaration and add attacker-selected rules to the server-rendered page. The generated stylesheet still escapes literal less-than characters, so the injected content cannot terminate the style element or directly inject HTML or JavaScript. The injected CSS can conceal or reposition content, add generated text, and otherwise misrepresent the interface; some applications may also expose data already present in selectable DOM attributes through conditional resource loads. This issue is fixed in 7.3.3.
Affected products
- withastro astro: from 7.1.0, < 7.3.3
References
- https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb
- https://github.com/withastro/astro/pull/17970
- https://github.com/withastro/astro/releases/tag/astro@7.3.3
- https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw
- https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw
Get alerted when CVE-2026-114127 or the next vulnerability affects your stack