nuxt@2.17.4 vulnerabilities

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

Direct Vulnerabilities

Known vulnerabilities in the nuxt package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improper handling of URL inputs in the navigateTo function. An attacker can execute arbitrary script code by inserting specially crafted payloads into the URL that bypass the protocol checks.

Note

This is only exploitable if server-side rendering (SSR) has occurred; the javascript: protocol within a location header does not trigger XSS.

How to fix Cross-site Scripting (XSS)?

Upgrade nuxt to version 3.12.4 or higher.

<3.12.4