Skip to content

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

HighCVSS 8.8 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm nuxt(npm) >= 3.4.0, < 3.12.4 3.12.4 Fixed
nuxt = >= 3.4.0 < 3.12.4; >= 3.4.0, < 3.12.4 3.12.4 Fixed

Affected products

ProductAffected versionsFixed in
npm nuxt(npm) >= 3.4.0, < 3.12.4 3.12.4
nuxt = >= 3.4.0 < 3.12.4 No fix listed
nuxt >= 3.4.0, < 3.12.4 3.12.4

References