Skip to content

socket.io and engine.io dependencies still include vulnerable versions of cookie and path-to-regexp #39303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
kelseyn12 opened this issue May 20, 2025 · 0 comments
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby

Comments

@kelseyn12
Copy link

Preliminary Checks

Description

While using Gatsby v5.14.3, npm audit still reports the following vulnerabilities:

cookie < 0.7.0: GHSA-pxg6-pf52-xh8x

path-to-regexp < 0.1.12: GHSA-rhx6-c78j-4q9w

These are coming from socket.io > engine.io, both used as part of Gatsby’s development server stack.

Would love to see these bumped or replaced in a future release to clean up audits and reduce noise in Dependabot PRs.

Thanks for all your hard work! Gatsby is awesome!

Reproduction Link

https://github.com/gatsbyjs/gatsby-starter-hello-world

Steps to Reproduce

  1. Clone the starter repo above and install dependencies using npm install.
  2. Run npm audit.
  3. Review vulnerabilities listed under gatsbysocket.io and engine.io.

Expected Result

No known high or moderate vulnerabilities in default Gatsby dependency tree.

Actual Result

npm audit reports high and moderate vulnerabilities caused by outdated versions of cookie and path-to-regexp inside Gatsby's dev dependencies (socket.io and engine.io).

Environment

gatsby info --clipboard

Config Flags

No custom flags used.

@kelseyn12 kelseyn12 added the type: bug An issue or pull request relating to a bug in Gatsby label May 20, 2025
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant