CVE-2026-114061
SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | sveltejs |
| Product | kit |
| Published | Oct 21, 2026 |
Stay Ahead of the Next One
Get instant alerts for sveltejs kit
Be the first to know when new medium vulnerabilities affecting sveltejs kit are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
sveltejs / kit
0 < 3.0.0