{"id":"CVE-2026-114128","state":"PUBLISHED","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.","publishedAt":"2026-10-21T17:32:28.466Z","updatedAt":"2026-10-23T15:11:02.457Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["withastro astro"],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 7.3.2","status":"affected"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/114xxx/CVE-2026-114128.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-114128","state":"PUBLISHED","datePublished":"2026-10-21T17:32:28.466Z","dateUpdated":"2026-10-23T15:11:02.457Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-20T21:53:58.473Z"},"containers":{"cna":{"title":"Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"withastro","product":"astro","versions":[{"version":"< 7.3.2","status":"affected"}]}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8","name":"https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17896","name":"https://github.com/withastro/astro/pull/17896","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739","name":"https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.3.2","name":"https://github.com/withastro/astro/releases/tag/astro@7.3.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-21T17:32:28.466Z"},"source":{"advisory":"GHSA-98hj-9722-w3j8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-23T14:47:55.932392Z","id":"CVE-2026-114128","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-23T15:11:02.457Z"}}]}}}