{"id":"CVE-2022-37783","details":"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.","aliases":["GHSA-h972-v458-m892"],"modified":"2026-08-07T11:31:07.470245843Z","published":"2022-12-05T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37783.json"},"references":[{"type":"WEB","url":"https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes/"},{"type":"WEB","url":"https://cves.at/posts/cve-2022-37783/writeup/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37783.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37783"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/06/06/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"18263261a5a70f0f84d78db6c4449b6fe304224e"},{"last_affected":"78b6a0d9d5a36f9c2ea54e7a3ad620946a17ab46"}],"database_specific":{"extracted_events":[{"introduced":"3.0.0"},{"last_affected":"3.7.32"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37783.json"}}],"schema_version":"1.8.0"}