CVE-2022-24723Uri.js Project Uri.js
Medium 5.3 No auth needed
Follow: this CVE · Uri.js Project · Uri.js Project Uri.js We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Mar 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Uri.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | urijs |
< 1.19.9 |
1.19.9 |
npm install urijs@1.19.9 |
Per OSV / GitHub Advisories (GHSA-gmv4-r438-p67f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| uri.js_project | uri.js | < 1.19.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Mitigation Third Party Advisory
- github.com Patch Third Party Advisory
- huntr.dev Exploit Issue Tracking Patch