A data breach on the popular website Reddit could potentially expose the identities of its users.

In a post on its website, Reddit said hackers had accessed a database that contained email addresses and user names. The two could be linked to determine identities of Reddit users, most of whom posts on the site anonymously.

Data involved in the breach included account credentials, such as user names and passwords, email addresses and content, as well as some private messages. The company said the information was accessed after hackers breached several employee accounts in mid-June.

The breach affects every user who created an account from 2005 to 2007, as well as anyone subscribed to its newsletter from June 3-17. The company has not revealed the exact number of accounts that were exposed.

"Although this was a serious attack, the attacker did not gain write access to Reddit systems; they gained read-only access to some systems that contained backup data, source code and other logs," the company said. They were not able to alter Reddit information, and we have taken steps since the event to further lock down and rotate all production secrets..."

Reddit is currently in the process of alerting users whose information was included in the breach and advising them to change their passwords.