GHSA-85pr-xr59-r75h: Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
This advisory was withdrawn on Oct 23, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-27mw-82g8-phjj. This link is maintained to preserve external references. Original Description SvelteKit (@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 tag.
Published Oct 21, 2026 · Updated Oct 23, 2026
Affected packages
@sveltejs/kit
- Ecosystem
- npm
- Affected
- < 3.0.0
- Fixed in
- No patched version yet
- Check
npm ls @sveltejs/kit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-27mw-82g8-phjj. This link is maintained to preserve external references.
Original Description
SvelteKit (@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 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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-128116
SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
medium5.3Nov 16, 2026CVE-2026-128118
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
high7.5Nov 16, 2026CVE-2026-128119
SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
medium5.9Nov 16, 2026CVE-2026-128120
SvelteKit: DoS while parsing form data from a remote functions `form`
high7.5Nov 16, 2026CVE-2026-128117
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
medium5.9Nov 13, 2026CVE-2026-114060
SvelteKit: URL redirection to untrusted site via enhanced form submission
low4.7Oct 23, 2026
