CVE-2023-3224: nuxt Code Injection vulnerability
Summary
CVE-2023-3224: nuxt Code Injection vulnerability. Affects nuxt versions >= 3.4.0, < 3.4.3. Fixed in 3.4.3. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The nuxt package is an open-source framework for creating server-rendered Vue.js applications. It provides a powerful development environment with features like automatic code splitting, server-side rendering, and hot module replacement. The vulnerability affects versions 3.4.0 to 3.4.3 of the Nuxt dev server when exposed publicly.
Vulnerability Detail
The Nuxt dev server between versions 3.4.0 and 3.4.3 is vulnerable to code injection when it is exposed publicly. This vulnerability allows an attacker to inject arbitrary code into the server, potentially leading to remote code execution. The impact of this vulnerability can be severe, as it allows an attacker to execute malicious code on the server and potentially gain unauthorized access or perform unauthorized actions.
How To Fix
Latest published version: 4.6.2 as of 22 Oct 2026
npm install nuxt@4.6.2
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.4.3
This is the first release that contains the fix.
npm install nuxt@3.4.3
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of the nuxt package to mitigate the risk of code injection.
Conclusion
The nuxt Code Injection vulnerability (CVE-2023-3224) affects versions 3.4.0 to 3.4.3 of the Nuxt dev server. It allows an attacker to inject arbitrary code into the server, potentially leading to remote code execution. To mitigate this vulnerability, it is crucial to upgrade to version 3.4.4 or later of the nuxt package. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for nuxt →
FAQ
This vulnerability allows an attacker to inject arbitrary code into the Nuxt dev server, potentially leading to remote code execution. It can result in unauthorized access, data breaches, or the compromise of the server.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. The playground analyzes your package-lock.json file and alerts you in real-time for open-source vulnerabilities, including this one.
Yes, a fix is available for this vulnerability. It is recommended to upgrade to version 3.4.4 or later of the nuxt package to mitigate the risk of code injection.
There are no known workarounds for this vulnerability. It is crucial to upgrade to the fixed version of the nuxt package to address the code injection vulnerability.
You can find more information about this vulnerability in the GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-gc34-5v43-h7v8/GHSA-gc34-5v43-h7v8.json
References
Related vulnerabilities
Recent vulnerabilities recorded for nuxt.