GitHub Advisoryadvisory · npm

GHSA-r385-c5fc-x56c CouchAuth has a Server-Side Template Injection vulnerability in its email functionality

MEDIUM Published 2025-02-10 Modified 2025-12-18 Official page ↗
Aliases
CVE-2024-57177
Ecosystem
npm
Packages
@perfood/couch-auth
Severity
Moderate
CVSS vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-1336, CWE-74
Reviewed
2025-12-18

Affected packages

• npm @perfood/couch-auth: <= 0.21.2 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-57177 A host header injection vulnerability exists in the NPM package of perfood/couch-auth <= 0.21.2. vulnerability

Weakness · CWE (2)

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References