What’s Vulnerable › Vulnerabilities
CVE-2022-24784: Discoverability of user password hash in Statamic CMS
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-03-25 · updated 2026-06-17
- Weakness: CWE-200
Description
Statamic is a Laravel and Git powered CMS. Before versions 3.2.39 and 3.3.2, it is possible to confirm a single character of a user's password hash using a specially crafted regular expression filter in the users endpoint of the REST API. Multiple such requests can eventually uncover the entire hash. The hash is not present in the response, however the presence or absence of a result confirms if the character is in the right position. The API has throttling enabled by default, making this a time intensive task. Both the REST API and the users endpoint need to be enabled, as they are disabled by default. The issue has been fixed in versions 3.2.39 and above, and 3.3.2 and above.
Affected products
- Statamic: before 3.2.39; from 3.3.0 before 3.3.2 — fixed in 3.2.39, 3.3.2
How to fix
Upgrade to a fixed version: Statamic 3.2.39, 3.3.2. Check the vendor advisory for mitigations.
References
- https://github.com/statamic/cms/issues/5604
- https://github.com/statamic/cms/pull/5568
- https://github.com/statamic/cms/security/advisories/GHSA-qcgx-7p5f-hxvr
- https://github.com/statamic/cms/issues/5604
- https://github.com/statamic/cms/pull/5568
- https://github.com/statamic/cms/security/advisories/GHSA-qcgx-7p5f-hxvr
Get alerted when CVE-2022-24784 or the next vulnerability affects your stack