Is cookie 0.4 vulnerable?
npm · 3 releases from 0.4.0 to 0.4.2 · latest cookie is 2.0.1 · checked 1 Nov 2026
Yes: 1 known advisory
Yes. cookie 0.4.2, the last 0.4 release, is affected by 1 known security advisory (1 low), including CVE-2024-47764. Upgrade to 0.7.0 or later to fix all of them.
Upgrade with:
npm install cookie@0.7.0Advisories affecting cookie 0.4.2
cookie accepts cookie name, path, and domain with out of bounds characters
- Affected
- <0.7.0
- Fixed in
- 0.7.0
Which of your client projects are still on cookie 0.4?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact cookie version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other cookie versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.