CVE-2026-114127 Astro: Arbitrary CSS injection in Astro View Transitions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| npm astro(npm) | >= 7.1.0, < 7.3.3; >= 7.1.0, <= 7.3.2 | 7.3.3 | Fixed |
| withastro astro | = >= 7.1.0, < 7.3.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = >= 7.1.0, < 7.3.3 | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| npm astro(npm) | >= 7.1.0, <= 7.3.2 | No fix listed |
| npm astro(npm) | >= 7.1.0, < 7.3.3 | 7.3.3 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw exploit vendor-advisory
- https://github.com/withastro/astro/pull/17970 patch
- https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb patch
- https://github.com/withastro/astro/releases/tag/astro@7.3.3
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2558413 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-107409 third-party-advisory