p PatchFirst

CVE-2025-65945

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • node-jws

    Versions
    • < 3.2.3: Affected
    • >= 4.0.0, <= 4.0.1: Affected

    No fix published

  • jws npm

    Affected ranges
    • SEMVER: < 3.2.3

    Update to 3.2.3

  • jws npm

    Versions
    • 4.0.0
    Affected ranges
    • SEMVER: ≥ 4.0.0, < 4.0.1

    Update to 4.0.1

Original sources

Check your server →