Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-60794
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 19:01 UTC · Revision 1

Source evidence

CVE-2025-60794

core-osv · Original source

Published 20 Nov 2025, 00:00 UTC

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.

osv:CVE-2025-60794
Complete source record
{
  "id": "89b03f94c9353821615bd87a493d60c3c519e8caace84c3d970e2afd19961ab0",
  "url": "https://osv.dev/vulnerability/CVE-2025-60794",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-60794",
    "summary": "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.",
    "evidence": "osv:CVE-2025-60794",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-60794",
      "aliases": [
        "CVE-2025-60794",
        "GHSA-62vx-hpcr-m9ch"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/perfood/couch-auth",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "bbce146e2dd20b3a001fc42876996ebc3fc87bea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:perfood:couchauth:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.21.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.21.2",
            "v0.21.1",
            "v0.21.0",
            "v0.20.1",
            "v0.20.0",
            "v0.19.2",
            "v0.19.0",
            "v0.18.3",
            "v0.18.2",
            "v0.18.1",
            "v0.18.0",
            "v0.17.4",
            "v0.17.2-beta.0",
            "v0.17.3",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.17.0-beta.3",
            "v0.17.0-beta.2",
            "v0.16.3",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.0",
            "v0.14.5",
            "v0.14.4",
            "v0.14.3",
            "v0.14.1",
            "v0.14.0",
            "v0.13.3",
            "v0.13.2",
            "v0.13.1",
            "v0.13.0",
            "v0.12.3",
            "v0.12.2",
            "v0.10.5",
            "0.6.1",
            "0.6.0",
            "0.5.0",
            "0.3.0",
            "0.2.1",
            "0.1.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-60794.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.857475563Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@perfood/couch-auth",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60794.json",
        "https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60794.md",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-60794",
        "https://github.com/perfood/couch-auth"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60794.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-60794",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520166,
  "published_at": "2025-11-20T00:00:00+00:00"
}