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
- XSS in the `of` option of the `.position()` util in jquery-ui - CVE-2021-41184
- Strapi allows Server-Side Request Forgery in Webhook function - CVE-2024-52588
- Auth0 NextJS SDK v4 Missing Session Invalidation - CVE-2025-46344
- Redoc Prototype Pollution via `Module.mergeObjects` Component - CVE-2024-57083
- Tags:
- npm
- @auth0/nextjs-auth0
Anything's wrong? Let us know Last updated on June 04, 2025