CVE-2024-57177: CouchAuth has a Server-Side Template Injection vulnerability in its email functionality
A host header injection vulnerability exists in the NPM package of perfood/couch-auth <= 0.21.2. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger a SSTI which can be leveraged to run limited commands or leak server-side information.
Published Feb 10, 2025 · Updated Dec 18, 2025
Affected packages
@perfood/couch-auth
- Ecosystem
- npm
- Affected
- <= 0.21.2
- 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 of perfood/couch-auth <= 0.21.2. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger a SSTI which can be leveraged to run limited commands or leak server-side information.
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-2023-39655
CouchAuth host header injection vulnerability leaks the password reset token
high8.1No fixJan 3, 2024
