CVE-2026-114128
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
astronpm | < 7.3.2 | 7.3.2 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-98hj-9722-w3j8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-114128ghsaADVISORY
- github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739nvdWEB
- github.com/withastro/astro/pull/17896nvdWEB
- github.com/withastro/astro/releases/tag/[email protected]nvdWEB
- github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8nvdWEB
News mentions
0No linked articles in our index yet.