npm package

path-to-regexp 8.4.2: no known vulnerabilities

path-to-regexp 8.4.2 has no known vulnerabilities in OSV.dev.

npm (opens in a new tab) describes it as “Express style path to RegExp utility”

Known vulnerabilities
0
None in OSV.dev
Released
Apr 1, 2026
The latest release
Downloads last week
67.3M
29% of path-to-regexp downloads
Licence
MIT
Dependencies
None
Resolved by deps.dev

Newer releases

8.4.2 is the latest release of path-to-regexp.

Who is still on a vulnerable path-to-regexp

24% of last week’s 236.2M path-to-regexp downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is path-to-regexp the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly path-to-regexp 8.4.2, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev and deps.dev.