CVE-2026-114061 SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
LowCVSS 2.3
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sveltejs @sveltejs/kit | < 3.0.0 | 3.0.0 | Fixed |
| sveltejs @sveltejs/kit(npm) | < 3.0.0 | 3.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sveltejs @sveltejs/kit | < 3.0.0 | 3.0.0 |
| sveltejs @sveltejs/kit(npm) | < 3.0.0 | 3.0.0 |
References
- GitHub Security Advisory (GHSA-27mw-82g8-phjj) vendor-advisory
- VulnCheck Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product
- ENISA EUVD EUVD-2026-107012 third-party-advisory