CVE-2024-34344: nuxt Code Injection
Vulnerability summary
CVE-2024-34344 is a high (CVSS 8.8) Code Injection vulnerability in nuxt. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.8% of scored vulnerabilities.
Timeline
- 05-08-2024PublishedVulnerability first disclosed.
- 12-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
0.00 pp
From 0.83% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Npm1 product
- nuxt≥ 3.4.0, < 3.12.4
Nuxt1 product
- nuxt≥ 3.4.0 < 3.12.4 (No fix recorded) | ≥ 3.4.0, < 3.12.4
2 vendors · 2 products
References
5 links- github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4X Refsource CONFIRMWEBThird Party Advisory
- github.com/nuxt/nuxtPACKAGE