Lack of JWT Expiration after Log Out in PayloadCMS
Summary
Lack of JWT Expiration after Log Out in PayloadCMS
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory cert.pl
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web payloadcms.com