# CVE-2022-24723: Improper Input Validation in URI.js

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- 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.94%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-03T19:23:36.000Z
- Modified: 2026-06-17T04:32:22.487Z
- Also known as: GHSA-gmv4-r438-p67f
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

URI.js is a Javascript URL mutation library. Before version 1.19.9, whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly. This issue has been patched in version 1.19.9. Removing leading whitespace from values before passing them to URI.parse can be used as a workaround.

(As written by CVE List.)

## Affected

- medialize URI.js: < 1.19.9
- urijs (npm): before 1.19.9
- uri.js_project uri.js: before 1.19.9

## Every score

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

## References

- <https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f> (mitigation, third-party-advisory, web)
- <https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316> (patch, third-party-advisory)
- <https://github.com/medialize/URI.js/releases/tag/v1.19.9> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24723> (advisory)
- <https://github.com/medialize/URI.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316> (web)
- <https://github.com/medialize/URI.js> (web)
- <https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5> (web)

## Sources

- CVE List: [CVE-2022-24723](https://www.cve.org/CVERecord?id=CVE-2022-24723), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-gmv4-r438-p67f](https://github.com/advisories/GHSA-gmv4-r438-p67f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24723](https://nvd.nist.gov/vuln/detail/CVE-2022-24723), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24723 · Whole record: https://cve.day/CVE-2022-24723.json · Rebuilt by cve.day 2026-11-25T22:58:09.904Z
