Vulnerability · Published Dec 4, 2025 · Assigned by GitHub_M

CVE-2025-65945auth0/node-jws improper HMAC signature verification vulnerability

High 7.5

In plain English

A high-severity security flaw in node-jws from auth0. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.2%top 86.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmjws3.2.3GHSA-869p-cjfg-cm3x
npmjws4.0.1GHSA-869p-cjfg-cm3x

Affected products (as reported)

VendorProductVersions
auth0 node-jws < 3.2.3>= 4.0.0, <= 4.0.1

Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References