npm package

cookie vulnerabilities by version

The latest release, 2.0.2 (Nov 5, 2026), has no known vulnerabilities. 8% of last week’s 323M downloads went to versions with known vulnerabilities. OSV.dev lists 1 advisory for cookie; the newest was published on Oct 4, 2024.

npm (opens in a new tab) describes it as “HTTP server cookie parsing and serialization”

Latest release
2.0.2
Nov 5, 2026, no known vulnerabilities
Downloads last week
323M
All versions, from npm
Advisories on OSV.dev
1
Newest Oct 4, 2024
Licence
MIT
OpenSSF Scorecard
8.2/10
jshttp/cookie (opens in a new tab)

Most-downloaded versions last week

From npm’s per-version download counts for the last 7 days, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.

VersionKnown vulnerabilitiesDownloads
0.7.2Oct 7, 2024No known vulnerabilities155M
1.1.1Nov 26, 2025No known vulnerabilities96.9M
2.0.1Jun 30, 2026No known vulnerabilities13.6M
2.0.2latestNov 5, 2026No known vulnerabilities12.5M
0.7.1Oct 3, 2024No known vulnerabilities12.3M
1.0.2Nov 20, 2024No known vulnerabilities7.2M
0.4.2Feb 2, 20221 known vulnerability, worst rated low6.4M
0.5.0Apr 11, 20221 known vulnerability, worst rated low6.2M

Who is still on a vulnerable cookie

8% of last week’s 323M cookie 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.

Release lines

The newest release of each major line, from the registry. cookie doesn’t publish support dates we can check.

LineNewest releaseReleased
22.0.2Nov 5, 2026
11.1.1Nov 26, 2025
0.70.7.2Oct 7, 2024
0.60.6.0Nov 7, 2023
0.50.5.0Apr 11, 2022
0.40.4.2Feb 2, 2022

Newest advisories

The 1 most recently published, with the versions each one affects.

  1. LowCVE-2024-47764 on OSV.dev (opens in a new tab)GHSA-pxg6-pf52-xh8x

    cookie accepts cookie name, path, and domain with out of bounds characters

    Affects < 0.7.0. Published Oct 4, 2024.

Which cookie do you have?

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

Check your whole repo

How this page is checked

StackPrism reads every OSV.dev advisory for cookie, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

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