Improper Signature Verification in Node.js JSON Web Signature Implementation by Auth0
CVE-2025-65945
7.5HIGH
What is CVE-2025-65945?
The node-jws library by Auth0 suffers from an improper signature verification flaw, particularly when employing the HS256 algorithm under certain conditions. This vulnerability arises in applications that utilize the jws.createVerify() function for HMAC algorithms while allowing user-provided data in the JSON Web Signature's protected header or payload for HMAC secret lookups. This can potentially enable attackers to bypass the intended signature verification, compromising the integrity of the signed data. Essential patches have been released in versions 3.2.3 and 4.0.1 to address the issue.
Affected Version(s)
node-jws < 3.2.3 < 3.2.3
node-jws >= 4.0.0, <= 4.0.1 <= 4.0.0, 4.0.1
