Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| garycourt | uri-js | <= 4.4.1 |
References
- https://github.com/garycourt/uri-js
- https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L349
- https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L352-L376
- https://github.com/garycourt/uri-js/issues/105
- https://www.npmjs.com/package/uri-js/v/4.4.1
- https://www.vulncheck.com/advisories/uri-js-through-4.4.1-denial-of-service-via-removedotsegments
- https://github.com/garycourt/uri-js/issues/105
Timeline
- Published
- Sep 18, 2026
- Last modified
- Sep 22, 2026
- NVD status
- Awaiting Analysis