---
title: "CVE-2024-34344: Nuxt vulnerable to remote code execution via the browser when running the test locally"
url: https://erroneo.us/security/cve/CVE-2024-34344/
description: "CVE-2024-34344 (nuxt (npm)): Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Due to the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-08-05
date_modified: 2024-11-18
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-34344"
kev: false
cvss: 9.2
epss: 0.00828
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-34344: Nuxt vulnerable to remote code execution via the browser when running the test locally

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 57: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 57% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes nuxt (npm) >= 3.4.0, < 3.12.4, fixed in 3.12.4 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `nuxt` >= 3.4.0, < 3.12.4 → fixed: 3.12.4

## Affected products (CVE record)

- nuxt nuxt: >= 3.4.0 < 3.12.4

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.83% probability of exploitation activity in the next 30 days; percentile 57.

## Sources

- [GitHub Advisory GHSA-v784-fjjh-f8r4](https://github.com/advisories/GHSA-v784-fjjh-f8r4)
- [CVE.org record CVE-2024-34344](https://www.cve.org/CVERecord?id=CVE-2024-34344)
- [NVD entry CVE-2024-34344](https://nvd.nist.gov/vuln/detail/CVE-2024-34344)
- [github.com](https://github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4)
- [github.com](https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L15-L19)
- [github.com](https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L9-L27)

---
Source page: https://erroneo.us/security/cve/CVE-2024-34344/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
