p PatchFirst

CVE-2022-24723

CVE-2022-24723 · Improper Input Validation in URI.js

CVSS 5.3 · Medium · EPSS 1.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

npm ls urijs
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="node-uri-js"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system · node

Affected products and versions

  • uri.js

    Versions
    • < 1.19.9: Affected

    No fix published

  • urijs npm

    Affected ranges
    • SEMVER: < 1.19.9

    Update to 1.19.9

  • node-uri-js Ubuntu 20.04 LTS

    Versions
    • 4.2.2+dfsg-4
    • 4.2.2+dfsg-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-uri-js Ubuntu 22.04 LTS

    Versions
    • 4.4.0+dfsg-5
    • 4.4.0+dfsg-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-uri-js Ubuntu 24.04 LTS

    Versions
    • 4.4.0+dfsg-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-uri-js Ubuntu 25.10

    Versions
    • 4.4.0+dfsg-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-uri-js Ubuntu 26.10

    Versions
    • 4.4.0+dfsg-9
    • 4.4.0+dfsg-10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-uri-js Ubuntu 26.04 LTS

    Versions
    • 4.4.0+dfsg-8
    • 4.4.0+dfsg-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →