Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a7
- https://github.com/withastro/astro/pull/17896
- https://github.com/withastro/astro/releases/tag/[email protected]
- https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8
FAQ
What is CVE-2026-114128?
CVE-2026-114128 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2026-114128?
CVE-2026-114128 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-114128?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.