{"cve":"CVE-2024-53262","nvd":{"published":"2024-11-25T20:15:10.423","modified":"2026-06-17T08:08:42.780","status":"Analyzed","description":"SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. The static error.html template for errors contains placeholders that are replaced without escaping the content first. error.html is the page that is rendered when everything else fails. It can contain the following placeholders: %sveltekit.status% — the HTTP status, and %sveltekit.error.message% — the error message.  This leads to possible injection if an app explicitly creates an error with a message that contains user controlled content. Only applications where user provided input is used in the `Error` message will be vulnerable, so the vast majority of applications will not be vulnerable This issue has been addressed in version 2.8.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/sveltejs/kit/commit/134e36343ef57ed7e6e2b3bb9e7f05ad37865794","https://github.com/sveltejs/kit/security/advisories/GHSA-mh2x-fcqh-fmqv","https://kit.svelte.dev/docs/errors"],"products":["svelte:sveltekit"],"source":"nvd","synced_at":"2026-10-19T21:57:34.731061660+00:00"},"epss":{"cve":"CVE-2024-53262","score":0.00484,"percentile":0.41696,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mh2x-fcqh-fmqv","url":"https://osv.dev/vulnerability/GHSA-mh2x-fcqh-fmqv","summary":"@sveltejs/kit has unescaped error message included on error page","modified":"2024-11-25T21:46:57Z","packages":[{"ecosystem":"npm","name":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","ranges":["<2.8.3"],"fixed":["2.8.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}