# CVE-2022-37783: Craft CMS discloses password hashes

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-05T00:00:00.000Z
- Modified: 2026-06-17T04:55:14.670Z
- Also known as: GHSA-h972-v458-m892
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- craftcms/cms (Packagist): from 3.0.0 before 3.7.33
- craftcms craft_cms: from 3.0.0 up to 3.7.32

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes/> (exploit, third-party-advisory)
- <https://cves.at/posts/cve-2022-37783/writeup/>
- <http://www.openwall.com/lists/oss-security/2024/06/06/1> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37783> (advisory)
- <https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes> (web)
- <https://cves.at/posts/cve-2022-37783/writeup> (web)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2022-37783](https://www.cve.org/CVERecord?id=CVE-2022-37783), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-h972-v458-m892](https://github.com/advisories/GHSA-h972-v458-m892), CC-BY-4.0, modified 2024-06-10
- NVD: [CVE-2022-37783](https://nvd.nist.gov/vuln/detail/CVE-2022-37783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-37783 · Whole record: https://cve.day/CVE-2022-37783.json · Rebuilt by cve.day 2026-11-25T22:58:17.228Z
