medium6.6
CVE-2025-60794
@perfood/couch-auth may expose session tokens, passwords
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @perfood/couch-auth | <= 0.21.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Perfood | Couchauth | through 0.21.2 |