Skip to content
Heist/ feed
Back to feed
High

auth0/node-jws improper HMAC signature verification vulnerability

Type: advisorySources: OSV

auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-65945
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:14 UTC · Revision 1

Source evidence

auth0/node-jws improper HMAC signature verification vulnerability

core-osv · Original source

Published 4 Dec 2025, 18:45 UTC

auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.

osv:CVE-2025-65945
Complete source record
{
  "id": "c6d2f98ac458f43cb06275f87ec4246764724a6d489b7105b7102ab77e07493b",
  "url": "https://osv.dev/vulnerability/CVE-2025-65945",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "auth0/node-jws improper HMAC signature verification vulnerability",
    "summary": "auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.",
    "evidence": "osv:CVE-2025-65945",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-65945",
      "aliases": [
        "CVE-2025-65945",
        "GHSA-869p-cjfg-cm3x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/auth0/node-jws",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4f6e73f24df42f07d632dec6431ade8eda8d11a6"
                },
                {
                  "introduced": "1389f6d3d018b2da4af0167f48e44f90d811ae87"
                },
                {
                  "fixed": "34c45b2c04434f925b638de6a061de9339c0ea2e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:auth0:node-jws:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:auth0:node-jws:4.0.0:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "34c45b2c04434f925b638de6a061de9339c0ea2e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0",
            "v3.2.2",
            "v4.0.0",
            "v3.2.1",
            "v3.2.0",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.0",
            "v2.0.0",
            "v1.0.1",
            "v1.0.0",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65945.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.347470370Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65945.json",
        "https://github.com/auth0/node-jws/security/advisories/GHSA-869p-cjfg-cm3x",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-65945",
        "https://github.com/auth0/node-jws/commit/34c45b2c04434f925b638de6a061de9339c0ea2e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-347"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65945.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-65945",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498333,
  "published_at": "2025-12-04T18:45:37.517+00:00"
}