CWE-312: Cleartext Storage of Sensitive Information
774 CVEs have CWE-312 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 52.507%.
The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.
Child of CWE-311: Missing Encryption of Sensitive Data
Mitigations
- Implementation System Configuration Operation: When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest. [REF-1297] [REF-1299] [REF-1301]
- Implementation System Configuration Operation: In some systems/environments such as cloud, the use of double encryption (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.
Observed examples
- CVE-2022-26390: wireless battery product stores credentials and Personal Health Information (PHI) without encryption
- CVE-2022-30275: Remote Terminal Unit (RTU) uses a driver that relies on a password stored in plaintext.
- CVE-2009-2272: password and username stored in cleartext in a cookie
- CVE-2009-1466: password stored in cleartext in a file with insecure permissions
- CVE-2009-0152: chat program disables SSL in some circumstances even when the user says to use SSL.
- CVE-2009-1603: Chain: product uses an incorrect public exponent when generating an RSA key, which effectively disables the encryption
- CVE-2009-0964: storage of unencrypted passwords in a database
- CVE-2008-6157: storage of unencrypted passwords in a database
- CVE-2008-6828: product stores a password in cleartext in memory
- CVE-2008-1567: storage of a secret key in cleartext in a temporary file
- CVE-2008-0174: SCADA product uses HTTP Basic Authentication, which is not encrypted
- CVE-2007-5778: login credentials stored unencrypted in a registry key
- CVE-2001-1481: Cleartext credentials in world-readable file.
- CVE-2005-1828: Password in cleartext in config file.
- CVE-2005-2209: Password in cleartext in config file.
- CVE-2002-1696: Decrypted copy of a message written to disk given a combination of options and when user replies to an encrypted message.
- CVE-2004-2397: Cleartext storage of private key and passphrase in log file when user imports the key.
- CVE-2002-1800: Admin password in cleartext in a cookie.
- CVE-2001-1537: Default configuration has cleartext usernames/passwords in cookie.
- CVE-2001-1536: Usernames/passwords in cleartext in cookies.
- CVE-2005-2160: Authentication information stored in cleartext in a cookie.
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2023-22894 | 2023-04-19 | MEDIUM | 4.9 | 4.114% | Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting the query filter. The attacker can… |
| CVE-2011-4723 | 2011-12-20 | MEDIUM | 5.7 | 3.064% | The D-Link DIR-300 router stores cleartext passwords, which allows context-dependent attackers to obtain sensitive information via unspecified vectors. |
| CVE-2026-64890 | 2026-11-16 | MEDIUM | 5.5 | 0.079% | : Cleartext Storage of Sensitive Information vulnerability in Johnson Controls Open Blue Companion Android App on Android allows : Retrieve Embedded Secrets… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-312'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-312'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).