Moderate severityNVD Advisory· Published Mar 3, 2022· Updated Apr 22, 2025
Improper Input Validation in URI.js
CVE-2022-24723
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
urijsnpm | < 1.19.9 | 1.19.9 |
Affected products
2Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-gmv4-r438-p67fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24723ghsaADVISORY
- github.com/medialize/URI.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316ghsaWEB
- github.com/medialize/URI.js/releases/tag/v1.19.9ghsax_refsource_MISCWEB
- github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67fghsax_refsource_CONFIRMWEB
- github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316mitrex_refsource_MISC
- huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5ghsaWEB
- huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.