Skip to main content
← All vulnerabilities
CVE-2026-114127GHSA-MPR7-6M5W-76RW

Astro: Arbitrary CSS injection in Astro View Transitions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.3.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • withastro astro

    From 7.1.0 · fixed in 7.3.3

  • astronpm

    From 7.1.0 · fixed in 7.3.3

References 4

GitHub · withastro/astro