GitHub Advisoryadvisory · npm

GHSA-62vx-hpcr-m9ch @perfood/couch-auth may expose session tokens, passwords

MEDIUM Published 2025-11-20 Modified 2025-11-20 Official page ↗
Aliases
CVE-2025-60794
Ecosystem
npm
Packages
@perfood/couch-auth
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Weaknesses
CWE-316
Reviewed
2025-11-20

Affected packages

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

Description

Session tokens and passwords in couch-auth 0.21.2 are stored in JavaScript objects and remain in memory without explicit clearing in src/user.ts lines 700-707. This creates a window of opportunity for sensitive data extraction through memory dumps, debugging tools, or other memory access techniques, potentially leading to session hijacking.

Related

Alias · CVE (1)

  • CVE-2025-60794 Session tokens and passwords in couch-auth 0.21.2 are stored in JavaScript objects and remain in memory without explicit clearing in… vulnerability

Weakness · CWE (1)

  • CWE-316 Cleartext Storage of Sensitive Information in Memory weakness

References