XSS in Sveltejs Kit

CVE-2026-114061

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published .

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-114061?
CVE-2026-114061 is a medium-severity vulnerability in Sveltejs Kit, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2026-10-21.
How severe is CVE-2026-114061?
Medium severity. CVSS v3 base score is 4.7 out of 10.