SvelteKit : XSS via untrusted cache-control header in prerendered page
影響: npm:@sveltejs/kit < 3.0.0 → 3.0.0
Applications that prerender pages and use setHeaders to set a cache-control header from an untrusted source are vulnerable to cross-site scripting (XSS). SvelteKit inserts the header value into a tag without escaping it. An attacker who can influence this value at prerender time can break out of the content attribute and inject HTML or JavaScript into the generated page. The injected code can then execute when users visit the page. Patches The fix escapes the header value before inserting it in…
| CVE | CVE-2026-114061 |
|---|---|
| 情報源 | GitHub Advisory Database |
| 取得日時 | 2026/10/24 13:50 |
| データ | Markdown JSON |
2026/10/24 05:43、GitHub Advisory Databaseが「SvelteKit : XSS via untrusted cache-control header in prerendered page」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: JavaScript / Node.js、Svelte。CVE: CVE-2026-114061。