uri-js through 4.4.1 contains a denial of service vulnerability in the removeDotSegments function that loops infinitely when a path segment begins with Unicode line or paragraph separators. Attackers can trigger this by calling removeDotSegments directly or through normalize/resolve functions with IRI handling enabled, causing the Node.js event loop to block indefinitely until heap exhaustion.
https://www.vulncheck.com/advisories/uri-js-through-4.4.1-denial-of-service-via-removedotsegments
https://www.npmjs.com/package/uri-js/v/4.4.1
https://github.com/garycourt/uri-js/issues/105
https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L352-L376
https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L349
Published: 2026-09-18
Updated: 2026-09-18
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
Base Score: 8.7
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00457