CVE-2023-39655: CouchAuth host header injection vulnerability leaks the password reset token
A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions <= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.
Published Jan 3, 2024 · Updated Jan 9, 2024
Affected packages
@perfood/couch-auth
- Ecosystem
- npm
- Affected
- <= 0.20.0
- Fixed in
- No patched version yet
- Check
npm ls @perfood/couch-auth
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions <= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2025-70948
@perfood/couch-auth has a host header injection vulnerability
medium9.3No fixMar 5, 2026CVE-2025-70949
@perfood/couch-auth has an Observable Timing Discrepancy
high7.5No fixMar 5, 2026CVE-2025-60794
@perfood/couch-auth may expose session tokens, passwords
medium6.6No fixNov 20, 2025CVE-2024-57177
CouchAuth has a Server-Side Template Injection vulnerability in its email functionality
medium4.3No fixFeb 10, 2025
