CVE-2025-65945
HIGHauth0/node-jws <4.0.0 - Improper Signature Verification
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2025-65945. PoCs published by jedisct1, adminlove520.
AI-analyzed exploit summary This PoC demonstrates a signature verification bypass in the `node-jws` library, allowing attackers to forge valid JWTs when HMAC secrets are derived from user-controlled data. The exploit leverages an empty secret to bypass validation when a non-existent key ID is provided.
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.
Exploits (2)
This PoC demonstrates a signature verification bypass in the `node-jws` library, allowing attackers to forge valid JWTs when HMAC secrets are derived from user-controlled data. The exploit leverages an empty secret to bypass validation when a non-existent key ID is provided.
This repository contains a functional exploit for CVE-2025-65945, demonstrating a signature verification bypass in the `node-jws` library. The exploit forges a JWT with an empty secret, bypassing authentication when the server fails to validate the secret properly.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N