{"id":"CVE-2026-126362","published":"2026-11-12T22:29:19Z","modified":"2026-11-13T16:03:23Z","title":"Astro: Reflected XSS via unescaped slot names in @astrojs/svelte","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"Astro is a web framework for content-driven websites. From 5.7.3 until 9.1.2, the @astrojs/svelte renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. Request-controlled slot names containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Svelte component using a client:* directive and dynamic rendering of the attacker-chosen slot; components that did not render that slot emitted only Astro's escaped fallback content. Both server rendering and client-side hydration used the unsafe slot name. This issue is fixed in version 9.1.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00403,"percentile":0.35362,"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-f4j9-crrj-867q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/@astrojs/svelte@9.1.2","tags":["x_refsource_MISC"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":7.07},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 5.7.3, < 9.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T15:28:56.006808Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@astrojs/svelte","vulnerableRanges":[">=5.7.3, <9.1.2"],"patched":["9.1.2"],"from":["GHSA-f4j9-crrj-867q"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-124743","exploited":false,"provenance":"source"}}