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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114128.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "a548223607b9bb146d5d90ddda495343f9a2a739"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "astro@7.3.2",
"range": [
{
"fixed": "aa4949e425144e0d276d2ff70f01209e90fdfbe8"
}
],
"source": "REFERENCES_TAG"
}
]
}