Vulnerability library
Security checkAugust 06, 2024

Nuxt Devtools has a Path Traversal: '../filedir

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@nuxt/devtools

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Nuxt Devtools is missing authentication on the getTextAssetContent RPC function which is vulnerable to path traversal. Combined with a lack of Origin checks on the WebSocket handler, an attacker is able to interact with a locally running devtools instance and exfiltrate data abusing this vulnerability.

Recommendation

Update the @nuxt/devtools package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.3.9
  • Patched version(s): 1.3.9

References

Could your website be exposed too?

SmartScanner can check your website for Nuxt Devtools has a Path Traversal: '../filedir and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 06, 2024