What’s Vulnerable › Vulnerabilities
CVE-2021-23126: [20210301] - Core - Insecure randomness within 2FA secret generation
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-04 · updated 2026-06-17
- Weakness: CWE-338
Description
An issue was discovered in Joomla! 3.2.0 through 3.9.24. Usage of the insecure rand() function within the process of generating the 2FA secret.
Affected products
- Joomla!: from 3.2.0 before 3.9.25 — fixed in 3.9.25
How to fix
Upgrade to a fixed version: Joomla! 3.9.25. Check the vendor advisory for mitigations.
References
- https://developer.joomla.org/security-centre/841-20210301-core-insecure-randomness-within-2fa-secret-generation.html
- https://developer.joomla.org/security-centre/841-20210301-core-insecure-randomness-within-2fa-secret-generation.html
Get alerted when CVE-2021-23126 or the next vulnerability affects your stack