{"id":"CVE-2026-114128","revision":"910e1837b02b41038c395552b56d0471","records":[{"revision":"910e1837b02b41038c395552b56d0471","observedAt":"2026-10-23T16:48:20.594+00:00","statement":{"source":"cve-program","id":"CVE-2026-114128","aliases":[],"title":"Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering","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.","state":0,"publishedAt":"2026-10-21T17:32:28.466+00:00","modifiedAt":"2026-10-23T15:11:02.457+00:00","affected":[{"ecosystem":"Vendor product","name":"astro","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"withastro\",\n                    \"product\": \"astro\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.3.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8","https://github.com/withastro/astro/pull/17896","https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739","https://github.com/withastro/astro/releases/tag/astro@7.3.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-114128","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-114128","identifiers":["CVE-2026-114128"]},"retained":false,"historicalAffected":[]}],"coverage":[]}