Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sveltejs/kit
  4. ›
  5. CVE-2024-53262

CVE-2024-53262: @sveltejs/kit has unescaped error message included on error page

November 25, 2024 (updated October 18, 2026)

The static error.html template for errors contains placeholders that are replaced without escaping the content first.

References

  • github.com/advisories/GHSA-mh2x-fcqh-fmqv
  • github.com/sveltejs/kit/commit/134e36343ef57ed7e6e2b3bb9e7f05ad37865794
  • github.com/sveltejs/kit/pull/13050
  • github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.8.3
  • github.com/sveltejs/kit/security/advisories/GHSA-mh2x-fcqh-fmqv
  • kit.svelte.dev/docs/errors
  • nvd.nist.gov/vuln/detail/CVE-2024-53262

Code Behaviors & Features

Detect and mitigate CVE-2024-53262 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.8.3

Fixed versions

  • 2.8.3

Solution

Upgrade to version 2.8.3 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@sveltejs/kit/CVE-2024-53262.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.