OWASPASVS 5.0 requirement

ASVS-V7.4.1 When session termination is triggered (such as logout or expiration), the application disallows any further use of the session.

L1 Published 2025 Official page ↗
Standard
OWASP ASVS 5.0
Chapter
V7 Session Management
Section
V7.4 Session Termination
Level
L1 (requirement applies from this verification level up)

Requirement

Verify that when session termination is triggered (such as logout or expiration), the application disallows any further use of the session. For reference tokens or stateful sessions, this means invalidating the session data at the application backend. Applications using self-contained tokens will need a solution such as maintaining a list of terminated tokens, disallowing tokens produced before a per-user date and time or rotating a per-user signing key.