CVE-2025-65945
HIGH 7.5CVSS 3.1auth0/node-jws Improperly Verifies HMAC Signature
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.
- Published
- 4 Dec 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-347
- Also known as
- GHSA-869p-cjfg-cm3x
- Sources
- NVDJSONOSV GHSA-869p-cjfg-cm3xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | auth0 | node-jwscpe:2.3:a:auth0:node-jws:*:*:*:*:*:node.js:*:* |
< 3.2.3 | 3.2.3 |
| NVD | auth0 | node-jwscpe:2.3:a:auth0:node-jws:4.0.0:*:*:*:*:node.js:*:* |
= 4.0.0 | |
| OSV | npm | jws | < 3.2.3 | 3.2.3 |
| OSV | npm | jws | >= 4.0.0, < 4.0.1 | 4.0.1 |
References
- https://github.com/auth0/node-jws/commit/34c45b2c04434f925b638de6a061de9339c0ea2e · Patch, WEB
- https://github.com/auth0/node-jws/security/advisories/GHSA-869p-cjfg-cm3x · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-65945 · ADVISORY
- https://github.com/auth0/node-jws/commit/4f6e73f24df42f07d632dec6431ade8eda8d11a6 · WEB
- https://github.com/auth0/node-jws · PACKAGE
- https://github.com/auth0/node-jws/releases/tag/v3.2.3 · WEB
- https://github.com/auth0/node-jws/releases/tag/v4.0.1 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 4 Dec 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Dec 2025)