CVE-2026-114127
CVE-2026-114127 · Astro: Arbitrary CSS injection in Astro View Transitions
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 2.3 · Low · EPSS 0.3% · Public exploit · Fix available
- Published
- Updated
Stack: node
Affected products and versions
Original sources
- https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw
- https://github.com/withastro/astro/pull/17970
- https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb
- https://github.com/withastro/astro/releases/tag/[email protected]
- https://nvd.nist.gov/vuln/detail/CVE-2026-114127