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

CVE-2024-53261: @sveltejs/kit vulnerable to XSS on dev mode 404 page

November 25, 2024 (updated January 22, 2025)

“Unsanitized input from the request URL flows into end, where it is used to render an HTML page returned to the user. This may result in a Cross-Site Scripting attack (XSS).”

References

  • github.com/advisories/GHSA-rjjv-87mx-6x3h
  • github.com/sveltejs/kit
  • github.com/sveltejs/kit/commit/d338d4635a7fd947ba5112df6ee632c4a0979438
  • github.com/sveltejs/kit/pull/13039
  • github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.8.3
  • github.com/sveltejs/kit/security/advisories/GHSA-rjjv-87mx-6x3h
  • nvd.nist.gov/vuln/detail/CVE-2024-53261

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.3

Fixed versions

  • 2.8.3

Solution

Upgrade to version 2.8.3 or above.

Impact

CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:N/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-53261.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:53 +0000.