{"id":"CVE-2026-114061","revision":null,"records":[{"revision":"ccb3c5b7e83348509918297c6721a676","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-114061","aliases":[],"title":"SvelteKit before 3.0.0 XSS via Cache-Control Header in Prerendered Pages","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.","state":0,"publishedAt":"2026-10-21T00:36:35.456+00:00","modifiedAt":"2026-10-21T00:36:35.456+00:00","affected":[{"ecosystem":"Vendor product","name":"kit","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sveltejs\",\n                    \"product\": \"kit\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/%40sveltejs/kit\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.0.0\"\n                        },\n                        {\n                            \"version\": \"3.0.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":2.3,"severity":"LOW"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"severity":"MEDIUM"}],"references":["https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj","https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-114061","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-114061","identifiers":["CVE-2026-114061"]},"retained":false,"historicalAffected":[]},{"revision":"98a3198a1bf14879ae80a8d054339136","observedAt":"2026-10-25T05:17:18.597+00:00","statement":{"source":"nvd","id":"CVE-2026-114061","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2026-10-21T01:17:29.297+00:00","modifiedAt":"2026-10-22T17:34:37.867+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","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","score":2.3,"severity":"LOW"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"severity":"MEDIUM"}],"references":["https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj","https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-114061","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-79"],"productCriteria":[],"sourceDates":{"published":"2026-10-21T01:17:29.297","lastModified":"2026-10-22T17:34:37.867"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-114061","identifiers":["CVE-2026-114061"]},"retained":false,"historicalAffected":[]},{"revision":"4bb3384caeb1401099aad3a819a18b0b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-27mw-82g8-phjj","aliases":["CVE-2026-114061"],"title":"SvelteKit : XSS via untrusted cache-control header in prerendered page","description":"### Impact\n\nApplications that prerender pages and use `setHeaders` to set a `cache-control` header from an untrusted source are vulnerable to cross-site scripting (XSS).\n\nSvelteKit inserts the header value into a `<meta http-equiv=\"cache-control\">` tag without escaping it. An attacker who can influence this value at prerender time can break out of the `content` attribute and inject HTML or JavaScript into the generated page. The injected code can then execute when users visit the page.\n\n### Patches\n\nThe fix escapes the header value before inserting it into the generated HTML. Upgrade to `@sveltejs/kit` version 3.0.0 or later.\n\n### Workarounds\n\nAvoid forwarding untrusted `cache-control` header values with `setHeaders` on prerendered pages. Use a fixed, trusted cache policy instead.","state":0,"publishedAt":"2026-10-23T20:43:30+00:00","modifiedAt":"2026-10-23T21:00:04.3129665+00:00","affected":[{"ecosystem":"npm","name":"@sveltejs/kit","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj","https://nvd.nist.gov/vuln/detail/CVE-2026-114061","https://github.com/sveltejs/kit/commit/d9d55b579743c80ee7cb59c272d864fd9253dae7","https://github.com/sveltejs/kit","https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0","https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages"],"sourceUrl":"https://github.com/advisories/GHSA-27mw-82g8-phjj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-27mw-82g8-phjj","identifiers":["GHSA-27mw-82g8-phjj","CVE-2026-114061"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-26T18:35:39.5587671+00:00","complete":true,"records":1756,"lastAttemptAt":"2026-10-26T18:35:39.5587671+00:00","lastSuccessAt":"2026-10-26T18:35:39.7237918+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.723793+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-5ba1945314e042c2ced14b33f3680fa71692812d925544312b218f5eb8a26e71-2b09ecd728489ee10426cde846ed6c498fc1cb8e3a9b201f15f68d89a639d5d4","complete":true,"records":414379,"lastAttemptAt":"2026-10-26T18:35:39.1187979+00:00","lastSuccessAt":"2026-10-26T18:35:38.5677655+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.1187979+00:00","snapshotPublishedAt":"2026-10-26T18:27:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-43321610382942b8ad8c85917eab1546","complete":false,"records":4735,"lastAttemptAt":"2026-10-26T18:36:09.6235809+00:00","lastSuccessAt":"2026-10-24T23:18:49.862+00:00","error":"InvalidDataException","lastVerifiedAt":"2026-10-24T23:18:49.862+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":2064,"expectedIdentifiers":13477},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-26T18:35:39.5587671+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-26T18:35:39.5587671+00:00","lastSuccessAt":"2026-10-26T18:35:39.7246843+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.7246844+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-f40f0016f7dd4c46820706eeffd767bf","complete":false,"records":13416,"lastAttemptAt":"2026-10-26T18:36:07.600005+00:00","lastSuccessAt":"2026-10-26T18:36:07.596+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:36:07.596+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13077,"expectedIdentifiers":13477},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c3121b113ecd88f1c92ccfa0ec9757ddc8386e4c12afd2597450b815744f800a","complete":true,"records":9779,"lastAttemptAt":"2026-10-26T18:35:39.4917372+00:00","lastSuccessAt":"2026-10-26T15:37:14.3083004+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.4917372+00:00","snapshotPublishedAt":"2026-10-26T14:48:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-bad5d31e7f6a5e3d338e11d8789069b63620a403f927730769688b42f768e4f6","complete":true,"records":1965,"lastAttemptAt":"2026-10-26T18:35:39.2867964+00:00","lastSuccessAt":"2026-10-26T16:35:43.1460623+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.2867964+00:00","snapshotPublishedAt":"2026-10-26T16:18:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-a393d8fe0ae8408f3e4cab413b76047090c8e4a3c0a186c79edf33c9a3d3af95","complete":true,"records":2995,"lastAttemptAt":"2026-10-26T18:35:39.5051035+00:00","lastSuccessAt":"2026-10-26T14:35:47.9640893+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.5051035+00:00","snapshotPublishedAt":"2026-10-26T14:18:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-278d5002a4c49eb0a53aa603d1ea0cbe27ac563f4fab7dbdf3bbdb9c900730cf","complete":true,"records":230811,"lastAttemptAt":"2026-10-26T18:35:39.3872635+00:00","lastSuccessAt":"2026-10-26T17:37:17.1540989+00:00","error":null,"lastVerifiedAt":"2026-10-26T18:35:39.3872635+00:00","snapshotPublishedAt":"2026-10-26T16:48:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null}]}