CVE-2024-34344

Remote code execution via the browser when running the test locally in nuxt

Published Aug 5, 2024 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2657 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.
Github GHSA Github GHSA GHSA-v784-fjjh-f8r4 Nuxt vulnerable to remote code execution via the browser when running the test locally
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nuxt:nuxt:3.4.0:*:*:*:*:*:*:* cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2024, 7:50 PM
Reserved
May 2, 2024, 6:36 AM
Status
Analyzed
Published
Aug 5, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:33 AM