Back to Daily Feed 
Nuxt v4.6.4: Critical Security Fixes & Key Behavior Changes
Worth Reading
Originally published on Nuxt Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Nuxt v4.6.4 is a security release addressing eight advisories in Nuxt and three in Nitro.
- Error details in production are now stripped, only showing
createErrormessages. - Dev server host checks are stricter, requiring
devServer.allowedHostsfor custom hostnames. workspaceDirdetection is more precise, limiting scope to explicit roots or git repos.- Nitropack's
cache,swr, andisrrules now only cache GET/HEAD requests and avoid responses with cookies orCache-Control: private/no-store. - Route rules now correctly match paths containing encoded slashes.
Our Commentary
A security release is always a good thing, but the behavior changes here are quite substantial. Stripping error details in production is a smart move for security, but I can see it catching some developers off guard. The stricter dev server host checks are also a welcome security hardening. We're seeing a trend towards more secure defaults, which is great, but it means we need to pay closer attention to release notes.
View Original Article
Share this article: