SAN FRANCISCO—Twitter is advising all users to change their passwords.

The company said Thursday that it recently discovered a bug that stored passwords in an internal log in an unprotected form.

Twitter says there’s no indication that there was a breach or that any of the passwords were misused. But as a precaution, Twitter recommends users consider changing the passwords they use to log onto Twitter. They should also change that password if they used it for any other services.

The San Francisco company says it masks, or encrypts, passwords by replacing them with a random set of numbers and letters. But the bug caused passwords to be written to an internal log before that masking occurred. The company says it discovered the bug on its own and has fixed it.

Wait, before you go…

If you're reading this, you probably already know that non-profit, independent journalism is under threat worldwide. Independent news sites are overshadowed by larger heavily funded mainstream media that inundate us with hype and noise that barely scratch the surface. We believe that our readers deserve to know the full story. Truthdig writers bravely dig beneath the headlines to give you thought-provoking, investigative reporting and analysis that tells you what’s really happening and who’s rolling up their sleeves to do something about it.

Like you, we believe a well-informed public that doesn’t have blind faith in the status quo can help change the world. Your contribution of as little as $5 monthly or $35 annually will make you a groundbreaking member and lays the foundation of our work.

Support Truthdig