Skip to content
OpenAdvisories
Critical · 9.6 CVE-2023-39655 EUVD-2024-0346GHSA-fqh6-6h6c-366m

CouchAuth host header injection vulnerability leaks the password reset token

Published Jan 3, 2024 · Updated Jun 18, 2025 · Assigned by mitre

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @perfood/couch-auth <= 0.20.0 — GHSA-fqh6-6h6c-366m

References