CVE-2021-24998
Simple JWT Login < 3.3.0 - Insecure Password Creation
Description
The Simple JWT Login WordPress plugin before 3.3.0 can be used to create new WordPress user accounts with a randomly generated password. The password is generated using the str_shuffle PHP function that "does not generate cryptographically secure values, and should not be used for cryptographic purposes" according to PHP's documentation.
Exploitation
EPSS 1.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.6% of all scored CVEs. Scores of 2 Dec 2026.
Weakness
- CWE-330 Use of Insufficiently Random Values
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Simple JWT Login
Unknown
|
affected before 3.3.0
Other versions: unaffected
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Patches and release notes
- https://plugins.trac.wordpress.org/changeset/2613782 plugins.trac.wordpress.org · patch
Exploits and proof of concept
- https://wpscan.com/vulnerability/1cca404e-766a-43ab-b41f-77d6a3b282fb wpscan.com · exploit, vdb entry, technical description
Source: the record CVE-2021-24998 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse