CVE-2026-114127 Astro: Arbitrary CSS injection in Astro View Transitions
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-114127?
CVE-2026-114127 is a low-severity vulnerability in withastro astro, published on 21 Oct 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-114127?
2 open source packages ship an affected version, including astro.
| Package | Affected | Fixed in |
|---|---|---|
astro npm | From 7.1.0 | 7.3.3 |
astro npm | From 7.1.0 | 7.3.3 |
How do I fix CVE-2026-114127?
Upgrade astro to 7.3.3 or later.
Is CVE-2026-114127 being exploited?
There is no known exploitation of CVE-2026-114127 in the wild and no public exploit code.
Sources
Also known as GHSA-mpr7-6m5w-76rw.