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.
References (4)
Core 4
Core References
Mitigation, Third Party Advisory x_refsource_confirm
https://github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f
Patch, Third Party Advisory x_refsource_misc
https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/medialize/URI.js/releases/tag/v1.19.9
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/
Scores
CVSS v3
5.3
EPSS
0.0049
EPSS Percentile
65.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (2)
npm/urijs
0 - 1.19.9npm
uri.js_project/uri.js
< 1.19.9
Published
Mar 03, 2022
Tracked Since
Feb 18, 2026