CVE-2026-114061
SvelteKit (@sveltejs/kit) before 3.0.0 contains a cross-site …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj
- www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-preren
- nvd.nist.gov/vuln/detail/CVE-2026-114061
- github.com/sveltejs/kit/commit/d9d55b579743c80ee7cb59c272d864fd9253dae7
- github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- github.com/advisories/GHSA-27mw-82g8-phjj
- nvd.nist.gov/vuln/detail/CVE-2026-114061
- cve.org/CVERecord?id=CVE-2026-114061
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.