Skip to main content
← npm

path-to-regexp

5 known vulnerabilities (4 high, 1 medium), with the versions each affects and the releases that fix them.

Latest release
Not known: cve.now hasn't read this package's releases
Newest unaffected release
Not known without release data
Advisories
5 · 4 high, 1 medium
Weekly downloads
314.1M
Dependents
139
Registry
npm

Advisories 5

  • CVE-2026-4923Medium 5.9

    path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards

    Affected: from 8.0.0, fixed in 8.4.0.

  • path-to-regexp vulnerable to Denial of Service via sequential optional groups

    Affected: from 8.0.0, fixed in 8.4.0.

  • path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters

    Affected: fixed in 0.1.13; from 0.2.0, fixed in 1.9.0; fixed in 0.1.10; from 7.0.0, fixed in 8.0.0; from 2.0.0, fixed in 3.3.0; from 4.0.0, fixed in 6.3.0.

  • path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x

    Affected: fixed in 0.1.12.

  • path-to-regexp outputs backtracking regular expressions

    Affected: fixed in 0.1.13; from 0.2.0, fixed in 1.9.0; fixed in 0.1.10; from 7.0.0, fixed in 8.0.0; from 2.0.0, fixed in 3.3.0; from 4.0.0, fixed in 6.3.0.