Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-48238: joaquimserafim/json-web-token is a javascript library use to interact with JSON Web Tokens (JWT) which are a c

42
This week
HIGH 7.5REMOTEUPGRADE

CVE-2023-48238 is a high-severity flaw (CVSS 7.5) affecting json web token. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

joaquimserafim/json-web-token is a javascript library use to interact with JSON Web Tokens (JWT) which are a compact URL-safe means of representing claims to be transferred between two parties. Versions prior to 4.0.0 are vulnerable to a JWT algorithm confusion attack. On line 86 of the 'index.js' file, the algorithm to use for verifying the signature of the JWT token is taken from the JWT token, which at that point is still unverified and thus s

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 76%)
CISA exploited listNo
WeaknessCWE-345
Published2023-11-17
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: joaquimserafim

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

joaquimserafim json web token UPGRADE
Affected: < 3.1.1
Fixed in: 3.1.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls json-web-token
2. UPGRADE to 3.1.1
npm install json-web-token@">=3.1.1"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-48238?

json web token: upgrade to 3.1.1. Exact commands for each OS are on this page.

Is CVE-2023-48238 being exploited?

CVE-2023-48238 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-48238 affect?

CVE-2023-48238 affects json web token. Severity is high (CVSS 7.5). joaquimserafim/json-web-token is a javascript library use to interact with JSON Web Tokens (JWT) which are a compact URL-safe means of representing claims to be transferred between two parties. Versions prior to 4.0.0 are vulnerable to a JW

How urgent is CVE-2023-48238?

Priority 42/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.