OWASPASVS 5.0 requirement

ASVS-V9.1.3 Key material that is used to validate self-contained tokens is from trusted pre-configured sources for the token issuer, preventing…

L1 Published 2025 Official page ↗
Standard
OWASP ASVS 5.0
Chapter
V9 Self-contained Tokens
Section
V9.1 Token source and integrity
Level
L1 (requirement applies from this verification level up)

Requirement

Verify that key material that is used to validate self-contained tokens is from trusted pre-configured sources for the token issuer, preventing attackers from specifying untrusted sources and keys. For JWTs and other JWS structures, headers such as 'jku', 'x5u', and 'jwk' must be validated against an allowlist of trusted sources.