# CVE-2026-114061: SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-21T00:36:35.456Z
- Modified: 2026-10-28T16:17:04.410Z
- Also known as: GHSA-27mw-82g8-phjj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- sveltejs kit: before 3.0.0 (not affected: 3.0.0)
- @sveltejs/kit (npm): before 3.0.0

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `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`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 0.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:N`

## References

- <https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2026-114061](https://www.cve.org/CVERecord?id=CVE-2026-114061), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-27mw-82g8-phjj](https://github.com/advisories/GHSA-27mw-82g8-phjj), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-114061](https://nvd.nist.gov/vuln/detail/CVE-2026-114061), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-114061 · Whole record: https://cve.day/CVE-2026-114061.json · Rebuilt by cve.day 2026-11-25T22:59:46.531Z
