CVE-2022-37783
HIGH 7.5CVSS 3.1Craft CMS discloses password hashes
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.
- Published
- 5 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-522
- Also known as
- GHSA-h972-v458-m892
- Sources
- NVDJSONOSV GHSA-h972-v458-m892JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.7.32 | |
| OSV | Packagist | craftcms/cms | >= 3.0.0, < 3.7.33 | 3.7.33 |
References
- http://www.openwall.com/lists/oss-security/2024/06/06/1 · WEB
- https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes/ · Exploit, Third Party Advisory, WEB
- https://cves.at/posts/cve-2022-37783/writeup/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-37783 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Dec 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Dec 2022)