Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. urijs
  4. ›
  5. CVE-2022-24723

CVE-2022-24723: Improper Input Validation

March 3, 2022 (updated July 3, 2023)

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

  • github.com/advisories/GHSA-gmv4-r438-p67f
  • github.com/medialize/URI.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316
  • github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f

Code Behaviors & Features

Detect and mitigate CVE-2022-24723 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.19.9

Fixed versions

  • 1.19.9

Solution

Upgrade to version 1.19.9 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Source file

npm/urijs/CVE-2022-24723.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:27 +0000.