Live threats

All CVEs / Craftcms

CVE-2022-37783Craftcms Craft Cms

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Dec 5, 2022
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-522
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 3.0.0 < 3.7.33 3.7.33 composer require "craftcms/cms:^3.7.33"

Per OSV / GitHub Advisories (GHSA-h972-v458-m892). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms≥ 3.0.0 ≤ 3.7.32

Official sources

References

Links published by the sources. Open them with care.