Vulnerability 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 <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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj
- https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-contro
FAQ
What is CVE-2026-114061?
CVE-2026-114061 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 <m...
How severe is CVE-2026-114061?
CVE-2026-114061 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-114061?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.