High severity · published Dec 5, 2022
CVE-2022-37783
All Craft CMS versions between 3.0.0 and 3.7.32 disclose password hashes of users who authenticate using their E-Mail address or username in Anti-CSRF-Tokens
7.5
CVSS
1.1%
EPSS
No
On KEV
Description
All Craft CMS versions between 3.0.0 and 3.7.32 disclose password hashes of users who authenticate using their E-Mail address or username in Anti-CSRF-Tokens. Craft CMS uses a cookie called CRAFT_CSRF_TOKEN and a HTML hidden field called CRAFT_CSRF_TOKEN to avoid Cross Site Request Forgery attacks. The CRAFT_CSRF_TOKEN cookie discloses the password hash in without encoding it whereas the corresponding HTML hidden field discloses the users' password hash in a masked manner, which can be decoded by using public functions of the YII framework.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CC
Craft Cms · Craftcms
3.0.0 through 3.7.32 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-37783
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-37783
www.openwall.com
http://www.openwall.com/lists/oss-security/2024/06/06/1
Exploit
https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes/
cves.at
https://cves.at/posts/cve-2022-37783/writeup/
More from Craft Cms
10.0
CVE-2025-32432
Craft CMS Allows Remote Code Execution
9.8
CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
8.1
CVE-2025-23209
Potential RCE with a compromised security key in craft/cms
5.3
CVE-2025-35939
Craft CMS stores user-provided content in session files
9.8
CVE-2026-32267
Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()
