Install
js-cookie
A simple, lightweight JavaScript API for handling cookies
3.0.8Latest, 29 May 2026
196MDownloads, last month
0Advisories on the latest
1Advisories, all versions
MITLicence
23KStars
6.3/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection CVE-2026-46625 | Fixed in 3.0.7 | 21 May 2026 |
In the news
- After updating site version from Drupal 10.3.10 to 11.1 - I am unable to import config changes due to interaction with codemirror and js_cookie lib drupal.stackexchange.com, 12 Feb 2025
- Sending cookie from react app to node js using js-cookie stackoverflow.com, 5 Feb 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.