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

CVE-2025-60794: @perfood/couch-auth may expose session tokens, passwords

November 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

  • github.com/advisories/GHSA-62vx-hpcr-m9ch
  • github.com/perfood/couch-auth
  • github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60794.md
  • nvd.nist.gov/vuln/detail/CVE-2025-60794
  • www.npmjs.com/package/@perfood/couch-auth

Code Behaviors & Features

Detect and mitigate CVE-2025-60794 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.21.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:49 +0000.