Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2022-29933

CVE-2022-29933: Weak Password Recovery Mechanism for Forgotten Password

May 9, 2022 (updated May 18, 2022)

Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the account’s password and take over the account by providing a crafted HTTP header to the application while using the password reset functionality. Specifically, the attacker must send X-Forwarded-Host to the /index.php?p=admin/actions/users/send-password-reset-email URI. NOTE: the vendor’s position is that a customer can already work around this by adjusting the configuration (i.e., by not using the default configuration).

References

  • packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html
  • github.com/craftcms/cms/blob/develop/CHANGELOG.md
  • nvd.nist.gov/vuln/detail/CVE-2022-29933
  • sec-consult.com/vulnerability-lab/
  • sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms/

Code Behaviors & Features

Detect and mitigate CVE-2022-29933 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.7.36

Fixed versions

  • 3.7.37

Solution

Upgrade to version 3.7.37 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

packagist/craftcms/cms/CVE-2022-29933.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.