← 취약점·업데이트

낮음취약점 권고JavaScript / Node.jsSvelte

Astro: Reflected XSS via unescaped slot names in @astrojs/svelte

영향

패키지영향받는 버전수정 버전
npm:@astrojs/svelte>= 5.7.3, <= 9.1.19.1.2

The @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…

GitHub Advisory Database에서 읽기

2026. 11. 13. 오전 07:34, GitHub Advisory Database에서 "Astro: Reflected XSS via unescaped slot names in @astrojs/svelte"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "낮음"(low)입니다. 관련 기술: JavaScript / Node.js, Svelte. CVE: CVE-2026-126362.