Nuxt exposes the message and data of unhandled errors thrown during server rendering
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in nuxt 4.6.4.
Nuxt is an open-source web development framework for Vue.js. From 3.0.0 until 4.6.4, Nuxt wraps non-HTTP errors thrown during server rendering with createError and incorrectly treats the result as an error deliberately exposed by the application. In production, the error page payload (__NUXT_DATA__) and JSON error response can therefore disclose the original message and data, including an upstream $fetch URL, query-string secrets, response bodies, database hosts, or similar sensitive details, regardless of what a custom error.vue renders. Errors deliberately created with createError or showError, errors returned by useFetch or useAsyncData, and server/api routes are not affected because their client-visible behavior is intentional or follows a different path. This issue is fixed in version 4.6.4.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nuxt | >=3.0.0 <4.6.4 | ||
| npm: nuxt | >=3.0.0, >=3.0.0 <4.0.0, >=4.0.0 <4.6.4 | 4.6.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in nuxt (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket