Home / nearform / get-jwks / CVE-2025-59936
CVE-2025-59936: is it exploited, and which versions of nearform get-jwks are affected and fixed?
CVE-2025-59936 is an improper output encoding vulnerability in nearform get-jwks. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: get-jwks before 11.0.2 (GitHub advisory GHSA-qc2q-qhf3-235m). Fixed in 11.0.2 (GitHub advisory GHSA-qc2q-qhf3-235m). Severity: Critical (9.4, CVSS 3.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-59936?
get-jwks poisoned JWKS cache allows post-fetch issuer validation bypass
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.
From the CVE record by GitHub_M, last updated September 29, 2025, 14:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nearform | get-jwks | < 11.0.2 |
As the CVE record by GitHub_M states it, last updated September 29, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | get-jwks | < 11.0.2 | 11.0.2 | GHSA-qc2q-qhf3-235m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 29, 2025. Summary: get-jwks: poisoned JWKS cache allows post-fetch issuer validation bypass.
How severe is CVE-2025-59936?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59936 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 29, 2025)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://github.com/nearform/get-jwks/security/advisories/GHSA-qc2q-qhf3-235m x_refsource_CONFIRM
- https://github.com/nearform/get-jwks/commit/1706a177a80a1759fe68e3339dc5a219ce03ddb9 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 23, 2025
- Published
- September 27, 2025, 00:22 UTC
- CVE record updated
- September 29, 2025, 14:55 UTC by GitHub_M
- NVD
- Deferred, last modified October 9, 2026, 10:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-59936
Is CVE-2025-59936 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nearform get-jwks are affected by CVE-2025-59936?
get-jwks before 11.0.2, per the GitHub advisory GHSA-qc2q-qhf3-235m. The tables above give every range the sources list.
Which version fixes CVE-2025-59936?
11.0.2, per the GitHub advisory GHSA-qc2q-qhf3-235m. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59936?
Critical (9.4, CVSS 3.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59936?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.