CVE-2026-114061sveltejs kit
Low 2.3 No auth needed
Follow: this CVE · sveltejs · sveltejs kit We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 28, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for kit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @sveltejs/kit |
< 3.0.0 |
3.0.0 |
npm install @sveltejs/kit@3.0.0 |
Per OSV / GitHub Advisories (GHSA-27mw-82g8-phjj). Check the version in your lockfile before upgrading.
Affected products
- sveltejs · kit
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.