Unescaped error message included on error page in SvelteKit
Published Nov 25, 2024
2.0
LOWCVSS 4.0
EPSS 0.48%
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.
Affected products
-
- Version < 2.8.3StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
@sveltejs/kit
npm
Introduced 0 Fixed 2.8.3
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @sveltejs/kit | 0 | 2.8.3 |
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
2 other sources (GitHub, NVD) ▾
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
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/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
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Nov 25, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.48% (0.00483) | 39.35th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.46% (0.00461) | 36.27th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00085) | 22.30th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| Nov 26, 2024 | 0.04% (0.00045) | 17.16th | v3 (v2023.03.01) |
References (7)
- https://github.com/advisories/GHSA-mh2x-fcqh-fmqv Advisory
- https://github.com/sveltejs/kit/commit/134e36343ef57ed7e6e2b3bb9e7f05ad37865794 x_refsource_MISCPatch
- https://github.com/sveltejs/kit/pull/13050
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.8.3
- https://github.com/sveltejs/kit/security/advisories/GHSA-mh2x-fcqh-fmqv x_refsource_CONFIRMThird Party Advisory
- https://kit.svelte.dev/docs/errors x_refsource_MISCIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2024-53262
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-mh2x-fcqh-fmqv | Advisory | |
| https://github.com/sveltejs/kit/commit/134e36343ef57ed7e6e2b3bb9e7f05ad37865794 | x_refsource_MISCPatch | |
| https://github.com/sveltejs/kit/pull/13050 | ||
| https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.8.3 | ||
| https://github.com/sveltejs/kit/security/advisories/GHSA-mh2x-fcqh-fmqv | x_refsource_CONFIRMThird Party Advisory | |
| https://kit.svelte.dev/docs/errors | x_refsource_MISCIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-53262 |
Change history (0)
No recorded changes yet.