Live threats

All CVEs / nearform

CVE-2025-59936nearform get-jwks

Critical 9.4 No auth needed

Priority
71
CVSS 3.0
9.4
EPSS
—
Auth required
No
Published
Sep 27, 2025
Updated
Oct 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

What happens

get-jwks contains fetch utils for JWKS keys. In versions prior to 11.0.2, a vulnerability in get-jwks can lead to cache poisoning in the JWKS key-fetching mechanism. When the iss (issuer) claim is validated only after keys are retrieved from the cache, it is possible for cached keys from an unexpected issuer to be reused, resulting in a bypass of issuer validation. This design flaw enables a potential attack where a malicious actor crafts a pair of JWTs, the first one ensuring that a chosen public key is fetched and stored in the shared JWKS cache, and the second one leveraging that cached key to pass signature validation for a targeted iss value. The vulnerability will work only if the iss validation is done after the use of get-jwks for keys retrieval. This issue has been patched in version 11.0.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for get-jwks.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm get-jwks < 11.0.2 11.0.2 npm install get-jwks@11.0.2

Per OSV / GitHub Advisories (GHSA-qc2q-qhf3-235m). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.