CVE-2024-34344
Description
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Due to the insufficient validation of the `path` parameter in the NuxtTestComponentWrapper, an attacker can execute arbitrary JavaScript on the server side, which allows them to execute arbitrary commands. Users who open a malicious web page in the browser while running the test locally are affected by this vulnerability, which results in the remote code execution from the malicious web page. Since web pages can send requests to arbitrary addresses, a malicious web page can repeatedly try to exploit this vulnerability, which then triggers the exploit when the test server starts.
How to fix
- nuxt nuxt3.12.4 or later
- nuxt3.12.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuxt nuxt | 3.4.0 ≤ v < 3.12.4 | 3.12.4 |
| nuxtnpm | 3.4.0 ≤ v < 3.12.4 | 3.12.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.