Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-114128 · GHSA-98hj-9722-w3j8

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

Risk score
49/100
CVSS
6.5 v3.1
Exploit chance (30 days)
0.3%
Published
21 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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 …
Affected
astro (npm) < 7.3.2
Fix
Upgrade astro to 7.3.2 or later.
Exploitation
No known exploitation

Why it is Yellow

  • CVSS 6.5 medium
  • On your watchlist: npm

Affected packages

PackageEcosystemVulnerableFixed in
astronpm< 7.3.27.3.2

References

Original description

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.

Last activity 21 Oct 2026. Patch Forecast updates every hour.