Improper Encoding or Escaping of Output Affecting get-jwks package, versions <11.0.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-GETJWKS-13110031
  • published28 Sept 2025
  • disclosed26 Sept 2025
  • creditSagi epureionut99

Introduced: 26 Sep 2025

CVE NOT AVAILABLE CWE-116  (opens in a new tab)

How to fix?

Upgrade get-jwks to version 11.0.2 or higher.

Overview

get-jwks is a Fetch utils for JWKS keys

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the getPublicKey process. An attacker can bypass issuer validation and gain unauthorized access by poisoning the JWKS cache with a crafted public key and subsequently reusing it for signature validation with a targeted issuer value.

CVSS Base Scores

version 4.0
version 3.1