RCE in Nuxt

CVE-2024-34344

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.008 (53.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Nuxt — versions >= 3.4.0 < 3.12.4

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-34344?
CVE-2024-34344 is a high-severity vulnerability in Nuxt, classified under Code Injection. CVSS score: 8.8/10. Published 2024-08-05.
How severe is CVE-2024-34344?
High severity. CVSS v3 base score is 8.8 out of 10.