Description
Overview In Auth0 Next.js SDK versions 4.0.1 to 4.6.0, __session cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers.
Recommendation
Update the @auth0/nextjs-auth0
package to the latest compatible version. Followings are version details:
- Affected version(s): >= 4.0.1, <= 4.6.0
- Patched version(s): 4.6.1
References
Related Issues
- The AuthKit Remix Library renders sensitive auth data in HTML - CVE-2025-55009
- Auth0 NextJS SDK v4 Missing Session Invalidation - CVE-2025-46344
- Redoc Prototype Pollution via `Module.mergeObjects` Component - CVE-2024-57083
- Angular Expressions - Remote Code Execution when using locals - CVE-2024-54152
- Tags:
- npm
- @auth0/nextjs-auth0
Anything's wrong? Let us know Last updated on June 04, 2025