{"id":"ghsa-ghsa-f4j9-crrj-867q","seq":6419065,"kind":"advisory","title":"Astro: Reflected XSS via unescaped slot names in @astrojs/svelte","url":"https://github.com/advisories/GHSA-f4j9-crrj-867q","permalink":"https://vulnpulse.app/items/ghsa-ghsa-f4j9-crrj-867q","summary":"影響: npm:@astrojs/svelte >= 5.7.3, <= 9.1.1 → 9.1.2\nThe @astrojs/svelte renderer wraps slotted content passed to Svelte components in an element, and writes the slot name into its name attribute without HTML escaping. A slot name containing \" could end the attribute and inject arbitrary HTML into the page. For example, a page that takes a slot name from the request: astro --- import Tabs from '../components/Tabs.svelte'; const tab = Astro.url.searchParams.get('tab'); --- … rendered with a Svelte 5 component that renders its snippets by name: sve…","severity":"low","cvss":null,"techs":["nodejs","svelte"],"cves":["CVE-2026-126362"],"tags":["GHSA-f4j9-crrj-867q","@astrojs/svelte"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-12T22:34:04.000Z","fetched_at":"2026-11-12T22:45:52.031Z"}