# CVE-2021-23128: [20210302] - Core - Potential Insecure FOFEncryptRandval

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.40%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-03-04T17:37:14.499Z
- Modified: 2026-09-08T08:48:01.390Z
- Also known as: BIT-JOOMLA-2021-23128
- Assigned by: Joomla

## Description

An issue was discovered in Joomla! 3.2.0 through 3.9.24. The core shipped but unused randval implementation within FOF (FOFEncryptRandval) used an potential insecure implemetation. That has now been replaced with a call to 'random_bytes()' and its backport that is shipped within random_compat.

(As written by CVE List.)

## Affected

- Joomla! Project Joomla! CMS: 3.2.0-3.9.24
- joomla joomla!: from 3.2.0 before 3.9.25
- joomla (Bitnami): from 3.2.0 before 3.9.25

## Every score

- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://developer.joomla.org/security-centre/842-20210302-core-potential-insecure-fofencryptrandval.html> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23128> (web)

## Sources

- CVE List: [CVE-2021-23128](https://www.cve.org/CVERecord?id=CVE-2021-23128), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2021-23128](https://nvd.nist.gov/vuln/detail/CVE-2021-23128), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JOOMLA-2021-23128](https://osv.dev/vulnerability/BIT-JOOMLA-2021-23128), Apache-2.0, modified 2026-09-08

---

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