{"id":"CVE-2026-114128","published":"2026-10-21T17:32:28Z","modified":"2026-10-23T15:11:02Z","title":"Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.293,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17896","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/astro@7.3.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.86},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 7.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:47:55.932392Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":["<7.3.2"],"patched":["7.3.2"],"from":["GHSA-98hj-9722-w3j8"],"provenance":"source"}],"summary":{"text":"Astro's JSX and MDX rendering pipeline (astro:jsx renderer, including MDX components) fails to escape dynamic string values passed as children of script and style elements, before version 7.3.2. An attacker who can supply input to such a dynamic child, over the network with no authentication, can inject a closing script or style tag to run arbitrary HTML and JavaScript under the application's origin, but only if a user interacts with the crafted page or content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:23Z"},"euvd":{"id":"EUVD-2026-107411","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2026-59729","children":[{"from":"CVE-2026-114128","to":"CVE-2026-126361","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/runtime/server/jsx.ts","packages/astro/src/runtime/server/render/streaming.ts"],"commits":["https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739","https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096"],"basis":"shared function","functions":["renderStreaming"]},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-73423","published":"2026-08-12","fixed":"7.0.6","kev":false},{"cve":"CVE-2026-73422","published":"2026-08-12","fixed":"7.1.0","kev":false},{"cve":"CVE-2026-84376","published":"2026-09-02","fixed":"7.2.4","kev":false,"link":{"from":"CVE-2026-84376","to":"CVE-2026-114128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.2.4","toFixed":"7.3.2","daysApart":49}]}},{"cve":"CVE-2026-114128","published":"2026-10-21","fixed":"7.3.2","kev":false},{"cve":"CVE-2026-114127","published":"2026-10-21","fixed":"7.3.3","kev":false,"link":{"from":"CVE-2026-114128","to":"CVE-2026-114127","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"7.3.2","toFixed":"7.3.3","daysApart":0}]}},{"cve":"CVE-2026-126361","published":"2026-11-12","fixed":"7.4.5","kev":false},{"cve":"CVE-2026-126364","published":"2026-11-12","fixed":"7.4.7","kev":false}],"package":"npm:astro"}}