CVE-2023-39655
CRITICAL 9.6CVSS 3.1CouchAuth 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
- 3 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-fqh6-6h6c-366m
- Sources
- NVDJSONOSV GHSA-fqh6-6h6c-366mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | perfood | couchauthcpe:2.3:a:perfood:couchauth:*:*:*:*:*:node.js:*:* |
<= 0.20.0 | |
| OSV | npm | @perfood/couch-auth | <= 0.20.0 |
References
- https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2023-39655 · Third Party Advisory, WEB
- https://www.npmjs.com/package/%40perfood/couch-auth · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39655 · ADVISORY
- https://github.com/perfood/couch-auth · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jan 2024)