Skip to main content
← All vulnerabilities
CVE-2026-114128GHSA-98HJ-9722-W3J8EUVD-2026-107411

Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Astro is a web framework for content-driven websites. Prior to 7.3.2, Astro's JSX and MDX rendering pipeline treats string children of script and style elements as trusted HTML without distinguishing compiler-generated literal content from dynamic expression values. An application that passes attacker-controlled data directly as a dynamic child can allow a value containing a closing script or style tag to terminate the element and inject arbitrary HTML and JavaScript. Other JSX expression contexts escape dynamic strings automatically; the issue is limited to script and style children rendered through the astro:jsx renderer, including MDX components. Successful exploitation can produce reflected or stored cross-site scripting under the application's origin. This issue is fixed in 7.3.2.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • withastro astro

    fixed in 7.3.2

  • astronpm

    fixed in 7.3.2

References 4

GitHub · withastro/astro