Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nuxt
  4. ›
  5. CVE-2024-34343

CVE-2024-34343: nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSR

August 5, 2024

The navigateTo function attempts to blockthe javascript: protocol, but does not correctly use API’s provided by unjs/ufo. This library also contains parsing discrepancies.

References

  • github.com/advisories/GHSA-vf6r-87q4-2vjf
  • github.com/nuxt/nuxt
  • github.com/nuxt/nuxt/security/advisories/GHSA-vf6r-87q4-2vjf
  • nvd.nist.gov/vuln/detail/CVE-2024-34343

Code Behaviors & Features

Detect and mitigate CVE-2024-34343 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 3.12.4

Fixed versions

  • 3.12.4

Solution

Upgrade to version 3.12.4 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-83: Improper Neutralization of Script in Attributes in a Web Page

Source file

npm/nuxt/CVE-2024-34343.yml

Spotted a mistake? Edit the file on GitLab.

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

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