Update path-to-regexp package to 8.0.0
Latest high severity causing failed npm audits'. Wrangler is currently on ^6.2.0.
https://github.com/advisories/GHSA-9wv6-86v2-598j
https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/package.json#L82
GitHub
CVE-2024-45296 - GitHub Advisory Database
path-to-regexp outputs backtracking regular expressions
GitHub
workers-sdk/packages/wrangler/package.json at main · cloudflare/wor...
⛅️ Home to Wrangler, the CLI for Cloudflare Workers® - cloudflare/workers-sdk
1 Reply
Found a temporary patch until CloudFlare updates the wrangler package to 8.0.0.
Paste this in your root package.json.