5.4

CVE-2024-53262: Unescaped error message included on error page in SvelteKit

Analyzed
AliasesGHSA-mh2x-fcqh-fmqv
Published 25-11-2024Last modified 25-11-2024

Vulnerability summary

CVE-2024-53262 is a medium (CVSS 5.4) vulnerability in svelte sveltekit. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 43.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.51%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-11-2024
    PublishedVulnerability first disclosed.
  2. 25-11-2024
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

@sveltejs1 product
  • kit< 2.8.3
Svelte1 product
Sveltejs1 product

3 vendors · 3 products

References

7 links