CVE-2021-27913
LOW 3.5CVSS 3.1Use of a Broken or Risky Cryptographic Algorithm
The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature being one pseudorandomness, an attacker can take advantage of the cryptographically insecure nature of this function to enumerate session tokens for accounts that are not under his/her control This issue affects: Mautic Mautic versions prior to 3.3.4; versions prior to 4.0.0.
- Published
- 30 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security@mautic.org
- NVD status
- Modified
- Weakness
- CWE-327CWE-338
- Also known as
- GHSA-x7g2-wrrp-r6h3
- Sources
- NVDJSONOSV GHSA-x7g2-wrrp-r6h3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@mautic.org (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:* |
< 3.3.4 | 3.3.4 |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:alpha1:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:rc:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Packagist | mautic/core | < 3.3.4 | 3.3.4 |
| OSV | Packagist | mautic/core | >= 4.0.0-alpha1, < 4.0.0 | 4.0.0 |
References
- https://github.com/mautic/mautic/security/advisories/GHSA-x7g2-wrrp-r6h3 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27913 · ADVISORY
- https://github.com/mautic/mautic/commit/d1cad766a2de74e6c6b89d6d78c2a5f2e36ba91c · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27913.yaml · WEB
- https://github.com/mautic/mautic · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2021)