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 scanRelated Issues
- matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal - CVE-2024-50336
- Agnai File Disclosure Vulnerability: JSON via Path Traversal - CVE-2024-47170
- Saltcorn Server allows logged-in users to delete arbitrary files because of a path traversal vulnerability - CVE-2024-47818
- Path traversal in webpack-dev-middleware - CVE-2024-29180


