# CVE-2021-33502: ReDoS in normalize-url

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-05-24T15:42:34.000Z
- Modified: 2026-06-17T03:54:41.273Z
- Also known as: GHSA-px4h-xg32-q955
- Weaknesses: CWE-400, CWE-1333
- Assigned by: mitre

## Description

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- normalize-url (npm): from 4.3.0 before 4.5.1; from 5.0.0 before 5.3.1; from 6.0.0 before 6.0.1
- normalize-url_project normalize-url: from 4.3.0 before 4.5.1; from 5.0.0 before 5.3.1; 6.0.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/sindresorhus/normalize-url/releases/tag/v6.0.1> (release-notes, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210706-0001/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33502> (advisory)
- <https://github.com/sindresorhus/normalize-url/commit/b1fdb5120b6d27a88400d8800e67ff5a22bd2103> (web)
- <https://github.com/sindresorhus/normalize-url> (package)
- <https://security.netapp.com/advisory/ntap-20210706-0001> (web)

## Sources

- CVE List: [CVE-2021-33502](https://www.cve.org/CVERecord?id=CVE-2021-33502), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-px4h-xg32-q955](https://github.com/advisories/GHSA-px4h-xg32-q955), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-33502](https://nvd.nist.gov/vuln/detail/CVE-2021-33502), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33502 · Whole record: https://cve.day/CVE-2021-33502.json · Rebuilt by cve.day 2026-11-25T22:58:01.512Z
