# CVE-2021-24998: Simple JWT Login < 3.3.0 - Insecure Password Creation

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-27T10:33:26.000Z
- Modified: 2026-06-17T03:41:17.240Z
- Weaknesses: CWE-330
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Simple JWT Login: before 3.3.0
- simple_jwt_login_project simple_jwt_login: before 3.3.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/1cca404e-766a-43ab-b41f-77d6a3b282fb> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://plugins.trac.wordpress.org/changeset/2613782> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24998](https://www.cve.org/CVERecord?id=CVE-2021-24998), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24998](https://nvd.nist.gov/vuln/detail/CVE-2021-24998), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24998 · Whole record: https://cve.day/CVE-2021-24998.json · Rebuilt by cve.day 2026-11-25T22:58:06.276Z
