{"id":"ghsa-ghsa-27mw-82g8-phjj","seq":661346,"kind":"advisory","title":"SvelteKit : XSS via untrusted cache-control header in prerendered page","url":"https://github.com/advisories/GHSA-27mw-82g8-phjj","permalink":"https://vulnpulse.app/items/ghsa-ghsa-27mw-82g8-phjj","summary":"影響: npm:@sveltejs/kit < 3.0.0 → 3.0.0\nApplications 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…","severity":"low","techs":["nodejs","svelte"],"cves":["CVE-2026-114061"],"tags":["GHSA-27mw-82g8-phjj","@sveltejs/kit"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-10-23T20:43:30.000Z","fetched_at":"2026-10-24T04:50:51.468Z"}