CVE-2026-114061
published low CVSS 4.0 · 2.3SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | kit0 to < 3.0.0 (affected · semver) · 3.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | kit | 0 to < 3.0.0 (affected · semver)3.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-27mw-82g8-phjj) https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj
- VulnCheck Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages
Provider assertions
2VulnCheck · cna
SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 139a1af71b9c8410048ac75b45e54ff6f5a558fe6225ac99e41545f33f6ca2c9
- Ingested
- 28 Oct 2026, 15:31:40 UTC
- Source record
- Official CVE record