What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: auth0 node-jws 3.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-65945 or the next vulnerability affects your stack