# jsonwebtoken (npm) vulnerabilities

4 known vulnerabilities (3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/jsonwebtoken

## Advisories (4)

### [CVE-2022-23539](https://cve.now/CVE-2022-23539): jsonwebtoken unrestricted key type could lead to legacy keys usage

- Severity: Medium 5.9
- Published: Dec 22, 2022
- Affected: fixed in 9.0.0.

### [CVE-2022-23540](https://cve.now/CVE-2022-23540): jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()

- Severity: Medium 6.4
- Published: Dec 22, 2022
- Affected: fixed in 9.0.0.

### [CVE-2022-23541](https://cve.now/CVE-2022-23541): jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC

- Severity: Medium 5.0
- Published: Dec 22, 2022
- Affected: fixed in 9.0.0.

### [CVE-2015-9235](https://cve.now/CVE-2015-9235): In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an…

- Severity: Unrated
- Published: May 29, 2018
- Affected: fixed in 4.2.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/jsonwebtoken
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
