OWASPASVS 5.0 requirement

ASVS-V1.3.3 Data being passed to a potentially dangerous context is sanitized beforehand to enforce safety measures, such as only allowing characters…

L2 Published 2025 Official page ↗
Standard
OWASP ASVS 5.0
Chapter
V1 Encoding and Sanitization
Section
V1.3 Sanitization
Level
L2 (requirement applies from this verification level up)

Requirement

Verify that data being passed to a potentially dangerous context is sanitized beforehand to enforce safety measures, such as only allowing characters which are safe for this context and trimming input which is too long.