Password Reset Tokens Do Not Expire
hexpm · hexpm hex.pm
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hexpm hexpm |
| No fix yet |
| hexpm hex.pm |
| No fix yet |
Original description
Insufficient Session Expiration vulnerability in hexpm hexpm/hexpm ('Elixir.Hexpm.Accounts.PasswordReset' module) allows Account Takeover.
Password reset tokens generated via the "Reset your password" flow do not expire. When a user requests a password reset, Hex sends an email containing a reset link with a token. This token remains valid indefinitely until used. There is no time-based expiration enforced.