@perfood/couch-auth may expose session tokens, passwords
Moderate severity
GitHub Reviewed
Published
Nov 20, 2025
to the GitHub Advisory Database
•
Updated Nov 20, 2025
Description
Published by the National Vulnerability Database
Nov 20, 2025
Published to the GitHub Advisory Database
Nov 20, 2025
Reviewed
Nov 20, 2025
Last updated
Nov 20, 2025
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.
References