CVE-2021-25994
HIGH 8.8CVSS 3.1Injection in UserFrosting
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.
- Published
- 3 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-cv25-3gmg-c6m8
- Sources
- NVDJSONOSV GHSA-cv25-3gmg-c6m8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | userfrosting | userfrostingcpe:2.3:a:userfrosting:userfrosting:*:*:*:*:*:*:*:* |
>= 0.3.1, < 4.6.3 | 4.6.3 |
| OSV | Packagist | userfrosting/userfrosting | >= 0.3.1, < 4.6.3 | 4.6.3 |
References
- https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba · Patch, Third Party Advisory, WEB
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25994 · ADVISORY
- https://github.com/userfrosting/UserFrosting · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Jan 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jan 2022)