{"id":"CVE-2021-25994","aliases":["CVE-2021-25994","GHSA-cv25-3gmg-c6m8"],"related":[],"kind":"vulnerability","state":"published","title":"Userfrosting - Host-Header Injection Leads to Account Takeover","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En Userfrosting, versiones v0.3.1 hasta v4.6.2, son vulnerables a una Inyección de Encabezado de Host. Al atraer a un usuario de la aplicación víctima para que haga clic en un enlace, un atacante no autenticado puede usar la funcionalidad \"forgot password\" para restablecer la contraseña de la víctima y hacerse con su cuenta","source":"nvd"}],"published":"2022-01-03T06:45:10.000Z","modified":"2026-06-17T03:42:45.130Z","severity":{"scorer":"Mend","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Mend","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"type":"custom","introduced":"0.3.1","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"4.6.2","status":"affected"}],"vendor":"userfrosting","product":"userfrosting","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.3.1","status":"affected","fixed":"4.6.3"}],"ecosystem":"Packagist","package":"userfrosting/userfrosting","purl":"pkg:composer/userfrosting/userfrosting","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.3.1","fixed":"4.6.3"}],"vendor":"userfrosting","product":"userfrosting","cpe":"cpe:2.3:a:userfrosting:userfrosting:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25994","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/userfrosting/UserFrosting","tags":["package"],"sources":["ghsa"]}],"credits":["WhiteSource Vulnerability Research Team (WVR)"],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25994","url":"https://www.cve.org/CVERecord?id=CVE-2021-25994","licence":"CVE Terms of Use","modified":"2024-08-03T20:19:19.566Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cv25-3gmg-c6m8","url":"https://github.com/advisories/GHSA-cv25-3gmg-c6m8","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:19.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25994","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25994","licence":"Public domain","modified":"2026-06-17T03:42:45.130Z"}],"updatedAt":"2026-11-25T22:58:06.326Z","epss":{"score":0.016,"percentile":0.76508,"date":"2026-12-01T12:00:22.000Z"}}