Vulnerability library
Security checkAugust 29, 2025

Payload does not invalidate JWTs after log out - @payloadcms/next

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@payloadcms/next

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Payload uses JSON Web Tokens (JWT) for authentication. After log out JWT is not invalidated, which allows an attacker who has stolen or intercepted token to freely reuse it until expiration date (which is by default set to 2 hours, but can be changed).

This issue has been fixed in version 3.44.0 of Payload.

Recommendation

Update the @payloadcms/next package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.44.0
  • Patched version(s): 3.44.0

References

Could your website be exposed too?

SmartScanner can check your website for Payload does not invalidate JWTs after log out - @payloadcms/next and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 29, 2025