CVE
CVE-2024-34344
CNA 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.
Affected versions
- nuxt≥ 3.4.0, < 3.12.4Fixed in 3.12.4
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4 · Third Party Advisory
- github.com/advisories/GHSA-v784-fjjh-f8r4 · Third Party Advisory
- osv.dev/vulnerability/GHSA-v784-fjjh-f8r4 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.