CVE-2024-34344
JavaScript vulnerability analysis and mitigation

Overview

Nuxt, a free and open-source framework for creating full-stack web applications with Vue.js, was found to contain a vulnerability (CVE-2024-34344) due to insufficient validation of the path parameter in the NuxtTestComponentWrapper. The vulnerability was discovered and disclosed on August 5, 2024, affecting versions 3.4.0 through 3.12.4 (GitHub Advisory).

Technical details

The vulnerability allows attackers to execute arbitrary JavaScript on the server side through the NuxtTestComponentWrapper component, which can lead to arbitrary command execution. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The weakness is classified as CWE-94 (Improper Control of Generation of Code) (NVD).

Impact

The vulnerability enables remote code execution when users run e2e tests locally. When users open a malicious web page while running tests, the attacker can achieve remote code execution from the malicious web page. Since web pages can send requests to arbitrary addresses, a malicious web page can repeatedly attempt to exploit this vulnerability, triggering the exploit when the test server starts (GitHub Advisory).

Exploitability

The vulnerability requires user interaction (opening a malicious web page) but no privileges for exploitation. The attack complexity is considered low, and the attack vector is network-based, making it accessible to remote attackers (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.12.4 and later. Users are advised to upgrade to the patched version to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63376HIGH8.2
  • JavaScript logoJavaScript
  • cockpit-image-builder.src
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • toml
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management