Weak password recovery mechanism for forgotten password in Strapi

Published: 2019-11-15
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-18818
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Web applications / CMS

Vendor strapi.io

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Weak Password Recovery Mechanism for Forgotten Password

EUVDB-ID: #VU22788

Risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-18818

CWE-ID: CWE-640 - Weak password recovery mechanism

Exploit availability: Yes


The vulnerability allows a remote attacker to reset an admin's password.

The vulnerability exists due to the affected software mishandles password resets within "packages/strapi-admin/controllers/Auth.js" and "packages/strapi-plugin-users-permissions/controllers/Auth.js". A remote attacker can use the password reset routes to reset an admin's password without providing a valid password reset token.


Install updates from vendor's website.

Vulnerable software versions

strapi: 3.0.0 alpha.4 - 3.0.0 beta.17.4

CPE2.3 External links


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.