{"id":"GHSA-85pr-xr59-r75h","summary":"Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages","details":"## 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 \u003cmeta http-equiv=\"cache-control\"\u003e 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.","modified":"2026-10-23T21:00:05.288003263Z","published":"2026-10-21T03:32:18Z","withdrawn":"2026-10-23T20:43:07Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-10-23T20:43:07Z","nvd_published_at":"2026-10-21T01:17:29Z","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114061"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages"}],"affected":[{"package":{"name":"@sveltejs/kit","ecosystem":"npm","purl":"pkg:npm/%40sveltejs/kit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-85pr-xr59-r75h/GHSA-85pr-xr59-r75h.json","last_known_affected_version_range":"\u003c 3.0.0"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}