@nuxt/devtools@0.2.3 vulnerabilities

The Nuxt DevTools gives you insights and transparency about your Nuxt App.

Direct Vulnerabilities

Known vulnerabilities in the @nuxt/devtools 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
  • H
Directory Traversal

@nuxt/devtools is a Nuxt DevTools

Affected versions of this package are vulnerable to Directory Traversal due to the getTextAssetContent function. An attacker can read arbitrary files over the RPC WebSocket by exploiting the lack of path traversal checks. Additionally, the WebSocket server's failure to verify the origin of requests enables cross-site WebSocket hijacking, allowing unauthorized interactions with a locally running devtools instance and potential data exfiltration.

How to fix Directory Traversal?

Upgrade @nuxt/devtools to version 1.3.9 or higher.

<1.3.9