{"id":"GHSA-85pr-xr59-r75h","title":"Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages","summary":"Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages","severity":"low","cvss":4.7,"cwe":["CWE-79"],"vendor":"sveltejs","product":"@sveltejs/kit","ecosystem":"npm","affected":["@sveltejs/kit < 3.0.0"],"published":"2026-10-21","updated":"2026-10-23","sourceUpdated":"2026-10-23T20:43:08Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-85pr-xr59-r75h","references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114061"},{"url":"https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages"},{"url":"https://github.com/advisories/GHSA-85pr-xr59-r75h"}],"tags":["ghsa","npm"],"ingestedAt":"2026-10-23T21:38:13.046Z","slug":"GHSA-85pr-xr59-r75h","body":"## Overview\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-27mw-82g8-phjj. This link is maintained to preserve external references.\n\n## Original Description\nSvelteKit (@sveltejs/kit) before 3.0.0 contains a cross-site scripting vulnerability in prerendered pages because a cache-control header value set via setHeaders is inserted without escaping into a <meta http-equiv=\"cache-control\"> tag. An attacker who can influence that untrusted value at prerender time can break out of the content attribute and inject HTML or JavaScript that executes when users visit the page.\n\n## Affected packages\n\n- `@sveltejs/kit < 3.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}