Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Facebook said Thursday that an internal security review found the passwords of hundreds of millions of users had been stored on company servers without encryption, but that no passwords were leaked and the company has found no indication the sensitive data was improperly accessed.

The issue was first reported by security researcher Brian Krebs, who published a blog post Thursday detailing that Facebook employees built applications that captured the passwords of users and stored them as plain text, meaning a password would be readable just the same as it is entered to log in.

Shortly after Krebs published his post, Facebook issued its own post on the security issue.

"As part of a routine security review in January, we found that some user passwords were being stored in a readable format within our internal data storage systems," Pedro Canahuati, vice president of engineering for security and privacy at Facebook, wrote in a blog post. "This caught our attention because our login systems are designed to mask passwords using techniques that make them unreadable."

The company said it will be notifying all affected users as a precaution.

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

Most companies encrypt passwords to prevent them from being stolen in the event of a data breach or used for nefarious purposes by company employees. Facebook said it is standard procedure for the company to encrypt passwords.

Krebs reported that the passwords were accessible by "some 2,000 engineers and developers."

Storing passwords in plain text is the worst possible security mistake a company can make. Letting thousands of engineers access that data -- that is beyond outrageous. https://t.co/FNqNJ5mCFW — Daniel Tunkelang (@dtunkelang) March 21, 2019

While it appears no user passwords were leaked, the security issue adds to Facebook's lengthy list of missteps that have brought significant public and political pressure on the company in the past year.

Facebook did not immediately respond to a request for comment.

It was not immediately clear exactly how many Facebook users were affected by the security issue, but Canahuati wrote that the company estimates it will notify "hundreds of millions of Facebook Lite users, tens of millions of other Facebook users, and tens of thousands of Instagram users." Facebook Lite is a stripped-down version of the company's app offered in parts of the world that have poor wireless connectivity.

Facebook added that it employs a variety of security procedures around user accounts and passwords, including tracking logins from new locations and devices, as well as monitoring data breaches at other companies in case people reuse passwords.

Information technology professionals on social media noted that encrypting passwords is among the most basic steps to ensure user safety.

Building any kind of password-based account system 101: don’t store passwords in plaintext, and make sure passwords don’t find their way into logs. No exceptions. And yet: https://t.co/dpLSndU0q2 — Ben Werdmuller (@benwerd) March 21, 2019

"This is unimaginably irresponsible," Brian Fitzpatrick, founder and chief technology officer of restaurant startup Tock, tweeted.

"Even if just a 'snafu' points to terrible quality control at least," Alan Silberberg, CEO of cybersecurity firm Digijaks, tweeted.