Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-24723 EUVD-2022-1428GHSA-gmv4-r438-p67f

Improper Input Validation in URI.js

Published Mar 3, 2022 · Updated Apr 22, 2025 · 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.

Affected products

VendorProductAffectedFixed
medialize URI.js < 1.19.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-uri-js No fix yet —
Ubuntu 26.04 LTS node-uri-js No fix yet —
Ubuntu 25.10 node-uri-js No fix yet —
Ubuntu 24.04 LTS node-uri-js No fix yet —
Ubuntu 22.04 LTS node-uri-js No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-uri-js No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm urijs < 1.19.9 1.19.9 GHSA-gmv4-r438-p67f

References