CVE-2026-114061

SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages

Published Oct 21, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-27mw-82g8-phjj SvelteKit : XSS via untrusted cache-control header in prerendered page
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages
First Time appeared Svelte
Svelte kit
Weaknesses CWE-79
CPEs cpe:2.3:a:svelte:kit:*:*:*:*:*:*:*:*
Vendors & Products Svelte
Svelte kit
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 28, 2026, 3:19 PM
Reserved
Oct 20, 2026, 9:43 PM
Status
Awaiting Analysis
Published
Oct 21, 2026, 1:17 AM
Modified
Oct 28, 2026, 4:17 PM