CVE-2026-114061

published 21 Oct 2026 · updated 28 Oct 2026

SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.0.0.

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 <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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
sveltejs<3.0.03.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-114061 severity on Zeptric[![CVE-2026-114061](https://zeptric.io/badge/cve/CVE-2026-114061.svg)](https://zeptric.io/cve/CVE-2026-114061)