๐Ÿ” CVE Alert

CVE-2026-114128

MEDIUM 6.5

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

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor withastro
Product astro
Published Oct 21, 2026
Stay Ahead of the Next One

Get instant alerts for withastro astro

Be the first to know when new medium vulnerabilities affecting withastro astro are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

withastro / astro
< 7.3.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8 github.com: https://github.com/withastro/astro/pull/17896 github.com: https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739 github.com: https://github.com/withastro/astro/releases/tag/[email protected]