Remote code execution via the browser when running the test locally in nuxt
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nuxtnpm | >= 3.4.0, < 3.12.4 | 3.12.4 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-v784-fjjh-f8r4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-34344ghsaADVISORY
- github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.tsghsaWEB
- github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.tsghsaWEB
- github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.