Infinite loop Affecting uri-js package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-URIJS-19963963
  • published20 Sept 2026
  • disclosed18 Sept 2026
  • creditWayde Shi

Introduced: 18 Sep 2026

NewCVE-2026-93690  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for uri-js.

Overview

uri-js is a RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.

Affected versions of this package are vulnerable to Infinite loop via the removeDotSegments function, which loops infinitely when a path segment begins with Unicode line separators (U+2028) or paragraph separators (U+2029). An attacker can trigger this by passing such a path to removeDotSegments directly, or through the normalize or resolve functions with IRI handling enabled, blocking the Node.js event loop indefinitely until heap exhaustion.

CVSS Base Scores

version 4.0
version 3.1