{"id":"CVE-2021-25994","published":"2022-01-03T06:45:10Z","modified":"2024-08-03T20:19:19Z","title":"Userfrosting - Host-Header Injection Leads to Account Takeover","vendor":"userfrosting","product":"userfrosting","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.016,"percentile":0.76391,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","tags":["x_refsource_MISC"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":15.28},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"userfrosting","affectedVersions":[{"vendor":"userfrosting","product":"userfrosting","versions":[">= 0.3.1, < unspecified",">= unspecified, <= 4.6.2"]}],"solutions":{"items":["Update to Userfrosting v4.6.3"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"userfrosting/userfrosting","vulnerableRanges":[">=0.3.1, <4.6.3"],"patched":["4.6.3"],"from":["GHSA-cv25-3gmg-c6m8"],"provenance":"source"}],"summary":{"text":"The flaw is a Host Header Injection vulnerability in the userfrosting product from the userfrosting vendor, affecting its forgot-password functionality. An unauthenticated remote attacker can exploit it by luring a victim user into clicking a crafted link, which lets the attacker reset that user's password and take over their account, with no prior authentication required but user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:23Z"},"euvd":{"id":"EUVD-2022-0565","exploited":false,"provenance":"source"}}