CVE-2026-114061
LOW 2.3CVSS 4.0SvelteKit : XSS via untrusted cache-control header in prerendered page
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.
- Published
- 21 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-79
- Also known as
- GHSA-27mw-82g8-phjj
- Sources
- NVDJSONOSV GHSA-27mw-82g8-phjjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | NONE 0.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @sveltejs/kit | < 3.0.0 | 3.0.0 |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj · WEB
- https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-114061 · ADVISORY
- https://github.com/sveltejs/kit/commit/d9d55b579743c80ee7cb59c272d864fd9253dae7 · WEB
- https://github.com/sveltejs/kit · PACKAGE
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0 · WEB
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Oct 2026)