{"id":"CVE-2021-25994","aliases":["EUVD-2022-0565","GHSA-cv25-3gmg-c6m8"],"status":"published","title":"Userfrosting - Host-Header Injection Leads to Account Takeover","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.016,"percentile":0.76001,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2022-01-03T06:45:10Z","modified":"2026-10-20T10:53:40Z","fixes":[{"ecosystem":"Packagist","package":"userfrosting/userfrosting","fixed_in":["4.6.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"userfrosting/userfrosting","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.1"},{"fixed":"4.6.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"userfrosting/userfrosting","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.1"},{"fixed":"4.6.3"}]}],"versions":["4.1.0-Alpha","4.1.1-alpha","4.1.2-alpha","v4.1.10-alpha","v4.1.11-alpha","v4.1.12-alpha","v4.1.13-alpha","v4.1.14-alpha","v4.1.15-alpha","v4.1.16","v4.1.17","v4.1.18","v4.1.19","v4.1.20","v4.1.21","v4.1.22","v4.1.3-alpha","v4.1.4-alpha","v4.1.5-alpha","v4.1.6-alpha","v4.1.7-alpha","v4.1.8-alpha","v4.1.9-alpha","v4.2.0","v4.2.0-alpha.1","v4.2.0-alpha.2","v4.2.0-beta.1","v4.2.0-beta.2","v4.2.2","v4.2.3","v4.2.4","v4.3.0","v4.3.0-beta.1","v4.3.1","v4.3.2","v4.3.3","v4.3.4","v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.5.0","v4.5.1","v4.5.2","v4.6.0","v4.6.1","v4.6.2"]}],"products":[{"vendor":"userfrosting","product":"userfrosting"}],"references":[{"url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25994","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cv25-3gmg-c6m8"},{"url":"https://github.com/userfrosting/UserFrosting","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25994","title":"Userfrosting - Host-Header Injection Leads to Account Takeover","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.","status":"published","published":"2022-01-03T06:45:10Z","modified":"2024-08-03T20:19:19.566Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2022-0565","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.","status":"published","published":"2022-01-03T06:45:10Z","modified":"2024-08-03T20:19:19Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-cv25-3gmg-c6m8","title":"Injection in UserFrosting","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.","status":"published","published":"2022-01-06T22:22:32Z","modified":"2023-02-03T05:04:05Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:36:41.967989Z"}],"nvd":[{"id":"CVE-2021-25994","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.","status":"published","published":"2022-01-03T07:15:07.243Z","modified":"2026-06-17T03:42:45.13Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:07:02.977492Z"}],"osv":[{"id":"CVE-2021-25994","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.","status":"published","published":"2022-01-03T07:15:07.243Z","modified":"2026-10-20T10:53:40.808339925Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-cv25-3gmg-c6m8","title":"Injection in UserFrosting","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.","status":"published","published":"2022-01-06T22:22:32Z","modified":"2023-11-08T04:05:19.92092Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:45.639885Z"}]}}
