Every CVE Search/ Get API key

CVE-2021-25994

Userfrosting - Host-Header Injection Leads to Account Takeover

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.60%Up 1.0 points since Jan 3, 2022
90%50%10%1%

What each source reports

CVE List Score used 8.8

Userfrosting - Host-Header Injection Leads to Account Takeover

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.

Record
CVE-2021-25994
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
EUVDEUVD-2022-0565 8.8

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.

Record
EUVD-2022-0565
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-cv25-3gmg-c6m8 8.8

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

Record
GHSA-cv25-3gmg-c6m8
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
NVD 8.8

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.

Record
CVE-2021-25994
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-74
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2021-25994
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-cv25-3gmg-c6m8 8.8

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

Record
GHSA-cv25-3gmg-c6m8
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
userfrosting/userfrosting
Packagist
0.3.1 up to 4.6.3
4.6.3
userfrosting/userfrosting
Packagist
0.3.1 up to 4.6.3, plus listed versions
4.1.0-Alpha4.1.1-alpha4.1.2-alphav4.1.10-alphav4.1.11-alpha
Show 44 moreShow less
v4.1.12-alphav4.1.13-alphav4.1.14-alphav4.1.15-alphav4.1.16v4.1.17v4.1.18v4.1.19v4.1.20v4.1.21v4.1.22v4.1.3-alphav4.1.4-alphav4.1.5-alphav4.1.6-alphav4.1.7-alphav4.1.8-alphav4.1.9-alphav4.2.0v4.2.0-alpha.1v4.2.0-alpha.2v4.2.0-beta.1v4.2.0-beta.2v4.2.2v4.2.3v4.2.4v4.3.0v4.3.0-beta.1v4.3.1v4.3.2v4.3.3v4.3.4v4.4.0v4.4.1v4.4.2v4.4.3v4.4.4v4.4.5v4.5.0v4.5.1v4.5.2v4.6.0v4.6.1v4.6.2
4.6.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-25994 is a high vulnerability (CVSS 8.8) in Userfrosting, published January 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.60%, the 75th percentile. Fixed in userfrosting/userfrosting 4.6.3.

References

MoveEnter Open