CVE-2025-59936: nearform get-jwks · Improper Encoding or Escaping of Output
Affects nearform get-jwksSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 11.0.2 as a priority.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.0.2
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade nearform get-jwks to 11.0.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nearform get-jwks | Affected
| Fixed in
|
AI-suggested
European organizations should urgently upgrade all instances of the 'get-jwks' library to version 11.0.2 or later, where the vulnerability is patched. Beyond upgrading, organizations should audit their JWT validation workflows to ensure that issuer (iss) claim validation occurs before or during key retrieval, not after, to prevent cache poisoning attacks. Implementing strict validation logic that tightly couples keys to their issuers and avoids shared caches across different issuers can mitigate risks. Additionally, organizations should consider deploying runtime monitoring and anomaly detection on JWT validation failures or unusual token usage patterns. Employing defense-in-depth by validating tokens at multiple layers, including API gateways and identity providers, can reduce exposure. Regularly reviewing and updating dependencies, combined with automated vulnerability scanning in CI/CD pipelines, will help prevent similar issues. Finally, organizations should review their incident response plans to quickly address any detected misuse of JWTs and notify affected stakeholders as required by GDPR and other regulations.
Description
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.