# js-cookie (npm)

A simple, lightweight JavaScript API for handling cookies

- Latest: 3.0.8 (2026-05-29)
- Licence: MIT
- Downloads: 196365700 last month
- Advisories on the latest version: 0

- CVE-2026-46625 HIGH: JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection Fixed in 3.0.7.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
