LIVE NEWSROOM · --:-- · May 24, 2026
A LIBRARY FOR SECURITY RESEARCHERS

OWASP TOP 10  /  A02:2021

Cryptographic Failures

Weak or missing protection of sensitive data in transit and at rest — previously called “Sensitive Data Exposure.”

This covers transmitting data in cleartext, using broken or weak algorithms, hard-coded or poorly managed keys, weak password hashing, and missing encryption.

The first question is always: what data needs protection (passwords, PII, tokens), and is it encrypted both in transit (TLS) and at rest with strong, current algorithms?

How to prevent it

Encrypt all sensitive data, enforce TLS, use strong algorithms (AES-GCM, Argon2/bcrypt for passwords), and manage keys properly.

Mapped weaknesses (CWE)

Free tools to test for it

Related terms

Part of the OWASP Top 10 reference. See also the CWE weaknesses and Web Security hub.

Scroll to Top