path-to-regexp vulnerabilities
Express style path to RegExp utility
- Registry
- npm
- Latest
- 9.0.0
- License
- MIT
5 known advisories
The latest version, 9.0.0, is not affected by any of them. Projects on older versions may be.
npm install path-to-regexp@9.0.0Is your project on an affected path-to-regexp?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for path-to-regexp
path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards
- Affected
- >=8.0.0 <8.4.0
- Fixed in
- 8.4.0
path-to-regexp vulnerable to Denial of Service via sequential optional groups
- Affected
- >=8.0.0 <8.4.0
- Fixed in
- 8.4.0
path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters
- Affected
- <0.1.13
- Fixed in
- 0.1.13
path-to-regexp contains a ReDoS
- Affected
- <0.1.12
- Fixed in
- 0.1.12
path-to-regexp outputs backtracking regular expressions
- Affected
- >=0.2.0 <1.9.0 · <0.1.10 · >=7.0.0 <8.0.0 · >=2.0.0 <3.3.0 · >=4.0.0 <6.3.0
- Fixed in
- 0.1.10, 1.9.0, 3.3.0, 6.3.0, 8.0.0
Is your path-to-regexp version vulnerable?
- path-to-regexp 9.0No known advisories in 9.0.0
- path-to-regexp 8.4No known advisories in 8.4.2
- path-to-regexp 8.32 advisories in 8.3.0
- path-to-regexp 8.22 advisories in 8.2.0
- path-to-regexp 8.12 advisories in 8.1.0
- path-to-regexp 8.02 advisories in 8.0.0
- path-to-regexp 7.21 advisory in 7.2.0
- path-to-regexp 7.11 advisory in 7.1.0
- path-to-regexp 7.01 advisory in 7.0.0
Which of your client projects still run an old path-to-regexp?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.