# CVE-2024-34344: Remote code execution via the browser when running the test locally in nuxt

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-11-30)
- Published: 2024-08-05T19:49:45.000Z
- Modified: 2026-06-17T07:33:13.003Z
- Also known as: GHSA-v784-fjjh-f8r4
- Weaknesses: CWE-94, CWE-706
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nuxt nuxt: >= 3.4.0 < 3.12.4; from 3.4.0 before 3.12.4
- nuxt (npm): from 3.4.0 before 3.12.4

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2024-34344](https://www.cve.org/CVERecord?id=CVE-2024-34344), CVE Terms of Use, modified 2024-08-12
- GitHub Advisory Database: [GHSA-v784-fjjh-f8r4](https://github.com/advisories/GHSA-v784-fjjh-f8r4), CC-BY-4.0, modified 2024-11-18
- NVD: [CVE-2024-34344](https://nvd.nist.gov/vuln/detail/CVE-2024-34344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34344 · Whole record: https://cve.day/CVE-2024-34344.json · Rebuilt by cve.day 2026-11-25T22:58:43.805Z
