Plaintext password
A plaintext password is a password stored or exposed in readable form, with no hashing or encryption between the file and the person reading it. In breach data it is the most dangerous password format, because an attacker can try it immediately without any cracking step.
Current as of · Editorial policy
How it works
A well-built service never stores the password itself. OWASP states that passwords should never be stored in plain text and recommends slow, one-way hashing algorithms such as Argon2id, bcrypt or PBKDF2. MITRE's CWE-256 rates the likelihood of exploiting plaintext password storage as high, and warns that an encoding such as base 64 does not protect a password, because the encoding can be detected and decoded easily.
Plaintext also appears by another route. Information-stealing malware can capture credentials as they are entered into websites, as Troy Hunt describes, so the password it records is plaintext even when the site stored it properly.
Three places a password can be "in plain text"
The phrase covers three different situations, and the fix differs for each.
- Stored in plain text. The service keeps the password readable in its database. NIST SP 800-63B requires verifiers to store passwords salted and hashed, and OWASP warns against plain text storage.
- Sent in plain text. The password travels over a connection that is not encrypted. MITRE's CWE-319 describes this as cleartext transmission of sensitive information.
- Captured in plain text. Malware or a leak records the password as the user typed it, whatever the site did with it.
How to tell whether a site stores passwords in plain text
You cannot see a site's database, but one sign is behavior. OWASP's guidance on forgotten passwords says never to send the password in the reset email. A service that can send you your current password did not store it as a one-way hash. Treat that as a reason to use a password on that service that you use nowhere else.
How it shows up in executive exposure
When a breach exposes a plaintext password next to an email address, nothing stands between that record and an attacker. The password can be tried on the original service and, if reused, on others. This is why a plaintext hit weighs more than a hash hit. The stealer logs Troy Hunt analyzed held website URLs with the email addresses and passwords entered into them, and were published on a Telegram channel.
Searches for exposed passwords also run into a limit: Have I Been Pwned loads no passwords next to email addresses and checks passwords separately in Pwned Passwords, which tells you whether a given password has been seen in a data breach. NIST SP 800-63B asks verifiers to compare new passwords against a blocklist of known compromised ones.
In WebThreat's CEM, a breach record that exposes a password is typically rated critical and moves that leader up the list of what to fix first, as the methodology explains. EDG3 watches the Telegram channels and dark web forums where plaintext credentials are traded.
How to reduce the risk
- Change a password as soon as it is seen in plaintext, and every other account that shares it.
- Use a password manager to give each account a unique password.
- Enable multi-factor authentication.
- If you run a service, hash passwords with a recommended algorithm and a unique salt, and never log or store them readable.
How it differs from related terms
A hashed password is stored as a one-way transformation, so an attacker must crack it first. A plaintext password needs no such step. A credential pair is the combination of username and password, in either form. The article on what to do when an executive's password is in a breach covers the practical steps.
Last checked 21 November 2026.
Frequently asked questions
Why would a breach contain plaintext passwords?
Either the service stored them unprotected, or malware on the user device captured them as they were typed. Both produce readable passwords, and a cracked weak hash also turns into plaintext once the attacker recovers it.
Is a hashed password safe to ignore?
No. Weak hashes can be cracked, and a cracked hash becomes a plaintext password. Treat any exposed password as compromised and change it, along with every other account that reuses it.
How can I tell if a website stores my password in plain text?
You cannot see the database, but OWASP says a reset email must never contain the password. A site that can send your current password did not hash it. Use a password there that you use nowhere else.
Does HTTPS mean my password is not in plain text?
It protects the password in transit, which addresses cleartext transmission (CWE-319). It says nothing about storage. A site can use HTTPS and still keep passwords readable, and malware on your device sees the password before encryption.
Is a base64 or encoded password the same as plaintext?
In practice, yes. MITRE's CWE-256 warns that encodings such as base 64 do not protect a password, because the encoding can be detected and decoded easily. Only slow one-way hashing with a salt counts as proper storage.
How do I check whether a password has appeared in a breach?
Have I Been Pwned's Pwned Passwords service checks whether an individual password has been seen in a data breach. If it has, never use it again anywhere. For executives, WebThreat CEM shows which of their addresses appear in breach corpora.
Sources
- Password Storage Cheat Sheet, OWASP, accessed
- CWE-256: Plaintext Storage of a Password, MITRE, accessed
- CWE-319: Cleartext Transmission of Sensitive Information, MITRE, accessed
- Forgot Password Cheat Sheet, OWASP, accessed
- NIST SP 800-63B: Authentication and Authenticator Management, NIST, accessed
- Have I Been Pwned FAQs, Have I Been Pwned, accessed
- Processing 23 Billion Rows of ALIEN TXTBASE Stealer Logs, Troy Hunt, accessed
Related terms
Related articles
See your leadership's exposure
CEM finds your executives from your company name, checks them against breach corpora and leak databases, and scores each person from 0 to 100.