Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @perfood/couch-auth
  4. ›
  5. CVE-2025-70948

CVE-2025-70948: @perfood/couch-auth has a host header injection vulnerability

March 5, 2026 (updated March 6, 2026)

A host header injection vulnerability in the mailer component of @perfood/couch-auth v0.26.0 allows attackers to obtain reset tokens and execute an account takeover via spoofing the HTTP Host header.

References

  • gist.github.com/0xHunterr/38aab644874ca9f4646524c5b01cfe5e
  • github.com/advisories/GHSA-qw8v-34ww-6q9p
  • github.com/perfood/couch-auth
  • nvd.nist.gov/vuln/detail/CVE-2025-70948
  • www.npmjs.com/package/@perfood/couch-auth

Code Behaviors & Features

Detect and mitigate CVE-2025-70948 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.26.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.3 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

npm/@perfood/couch-auth/CVE-2025-70948.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:18:38 +0000.