{"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-04-12T05:40:01.892814Z","published":"2022-12-05T21:15:10.123Z","references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/06/06/1"},{"type":"WEB","url":"https://cves.at/posts/cve-2022-37783/writeup/"},{"type":"EVIDENCE","url":"https://at-trustit.tuv.at/tuev-trust-it-cves/cve-disclosure-of-password-hashes/"}],"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"}],"cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","source":"CPE_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-37783.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}