Auth0 NextJS SDK v4 Missing Session Invalidation
Moderate severity
GitHub Reviewed
Published
Apr 29, 2025
in
auth0/nextjs-auth0
•
Updated Apr 30, 2025
Description
Published to the GitHub Advisory Database
Apr 29, 2025
Reviewed
Apr 29, 2025
Published by the National Vulnerability Database
Apr 29, 2025
Last updated
Apr 30, 2025
Overview
Auth0 NextJS
v4.0.1
tov4.5.0
does not invoke.setExpirationTime
when generating a JWE token for the session. As a result, the JWE does not contain an internal expiration claim. While the session cookie may expire or be cleared, the JWE remains valid.Am I Affected?
You are affected if you are using Auth0 NextJS SDK v4.
Fix
Upgrade to
v4.5.1
.References