What’s Vulnerable › Vulnerabilities
CVE-2021-25994: Userfrosting - Host-Header Injection Leads to Account Takeover
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-03 · updated 2026-06-17
- Weakness: CWE-74
Description
In Userfrosting, versions v0.3.1 to v4.6.2 are vulnerable to Host Header Injection. By luring a victim application user to click on a link, an unauthenticated attacker can use the “forgot password” functionality to reset the victim’s password and successfully take over their account.
Affected products
- userfrosting: from 0.3.1 before 4.6.3 — fixed in 4.6.3
How to fix
Upgrade to a fixed version: userfrosting 4.6.3. Check the vendor advisory for mitigations.
References
- https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994
- https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994
Get alerted when CVE-2021-25994 or the next vulnerability affects your stack