# decode-uri-component (npm) vulnerabilities

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

## At a glance

- Latest release: 0.5.1 (Oct 23, 2026): no advisory affects it
- Newest unaffected release: 0.5.1 (Oct 23, 2026), the latest release
- Weekly downloads: 35.8M
- Dependents: 1,404
- Releases: 9 since 0.1.0 (May 19, 2017)
- Registry: https://www.npmjs.com/package/decode-uri-component
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-118664: 0.1.0 to 0.5.0 (0.5.1 is outside it)
- CVE-2026-45822: 0.1.0 to 0.4.1 (0.5.0 is outside it)
- CVE-2022-38900: 0.1.0 to 0.2.0 (0.2.1 is outside it)

## Advisories (3)

### [CVE-2026-118664](https://cve.now/CVE-2026-118664): decode-uri-component: Denial of service via quadratic replacement of percent-encoded runs

- Severity: High 8.2
- Published: Oct 28, 2026
- Affected: fixed in 0.5.1.
- Fixed in 0.5.1 (released Oct 23, 2026, 5 days before disclosure).
- The latest release, 0.5.1, is not affected.
- 94% of decode-uri-component downloads last week were affected versions (38.4M).

### [CVE-2026-45822](https://cve.now/CVE-2026-45822): decode-uri-component through 0.4.1 is vulnerable to denial of service.

- Severity: Medium 6.6
- Published: Jun 30, 2026
- Affected: fixed in 0.5.0.
- Fixed in 0.5.0 (released Jun 29, 2026, 1 day before disclosure).
- The latest release, 0.5.1, is not affected.
- 89% of decode-uri-component downloads last week were affected versions (36.5M).

### [CVE-2022-38900](https://cve.now/CVE-2022-38900): decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.

- Severity: High 7.5
- Published: Nov 28, 2022
- Affected: fixed in 0.2.1.
- Fixed in 0.2.1 (released Dec 1, 2022, 3 days after disclosure).
- The latest release, 0.5.1, is not affected.
- 11% of decode-uri-component downloads last week were affected versions (4.6M).

---

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/decode-uri-component
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
