CVE-2024-34344
HIGH 8.8CVSS 3.1Nuxt vulnerable to remote code execution via the browser when running the test locally
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.
- Published
- 5 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-706CWE-94
- Also known as
- GHSA-v784-fjjh-f8r4
- Sources
- NVDJSONOSV GHSA-v784-fjjh-f8r4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nuxt | nuxtcpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.12.4 | 3.12.4 |
| OSV | npm | nuxt | >= 3.4.0, < 3.12.4 | 3.12.4 |
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34344 · ADVISORY
- https://github.com/nuxt/nuxt · PACKAGE
- https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L15-L19 · WEB
- https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L9-L27 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Aug 2024)