CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Nuxt

CVE-2024-34344
Nuxt vulnerability

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 products

Nuxt. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nuxt runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Nuxt products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.