Astro: Reflected XSS via unescaped slot names in @astrojs/svelte
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| npm:@astrojs/svelte | >= 5.7.3, <= 9.1.1 | 9.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…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー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。