BreachSpiderVerified, not vibes

CVE-2022-23539 in Auth0 Jsonwebtoken

High 8.1

Versions `<=8.5.1` of `jsonwebtoken` library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm. You are affected if you are using an algorithm and a key type other than a combination listed in the GitHub Securit...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
EPSS0.6%
EPSS percentile41th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Auth0 Jsonwebtoken ≤ 8.5.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Versions `<=8.5.1` of `jsonwebtoken` library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm. You are affected if you are using an algorithm and a key type other than a combination listed in the GitHub Security Advisory as unaffected. This issue has been fixed, please update to version 9.0.0. This version validates for asymmetric key type and algorithm combinations. Please refer to the above mentioned algorithm / key type combinations for the valid secure configuration. After updating to version 9.0.0, if you still intend to continue with signing or verifying tokens using invalid key type/algorithm value combinations, you’ll need to set the `allowInvalidAsymmetricKeyTypes` option to `true` in the `sign()` and/or `verify()` functions.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-23539
BreachSpider IDBS-2022-GLOBAL-063554-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published2022-12-23
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-327: CWE-327

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-327

CAPEC-475 Signature Spoofing by Improper Validation via CWE-327

CAPEC-608 Cryptanalysis of Cellular Encryption via CWE-327

CAPEC-614 Rooting SIM Cards via CWE-327

CAPEC-20 Encryption Brute Forcing via CWE-327

Show all 7

CAPEC-97 Cryptanalysis via CWE-327

CAPEC-473 Signature Spoof via CWE-327

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-23539 affects versions <=8.5.1 of the jsonwebtoken library, where legacy, insecure key types can be used for signature verification, potentially leading to security vulnerabilities.

Attackers can exploit this vulnerability by using legacy, insecure key types such as DSA keys with the RS256 algorithm, which can lead to signature verification bypasses and other security issues.

Questions

What is CVE-2022-23539?

CVE-2022-23539 affects versions <=8.5.1 of the jsonwebtoken library, where legacy, insecure key types can be used for signature verification, potentially leading to security vulnerabilities.

What is the CVSS score for CVE-2022-23539?

CVE-2022-23539 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.6%.

Is CVE-2022-23539 actively exploited?

No confirmed active exploitation of CVE-2022-23539 as of 2026-09-25.

How do I remediate CVE-2022-23539?

Priority: HIGH.

What systems are affected by CVE-2022-23539?

CVE-2022-23539 affects Auth0 Jsonwebtoken.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Auth0","product":"Jsonwebtoken","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.