# CVE-2024-47764: cookie accepts cookie name, path, and domain with out of bounds characters

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-10-04T19:09:46.640Z
- Modified: 2026-09-10T03:50:19.898Z
- Also known as: GHSA-pxg6-pf52-xh8x
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.

(As written by CVE List.)

## Affected

- jshttp cookie: < 0.7.0
- cookie (npm): before 0.7.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: rating Low

## References

- <https://github.com/jshttp/cookie/security/advisories/GHSA-pxg6-pf52-xh8x> (web)
- <https://github.com/jshttp/cookie/pull/167> (web)
- <https://github.com/jshttp/cookie/commit/e10042845354fea83bd8f34af72475eed1dadf5c> (web)
- <https://github.com/jshttp/cookie> (package)

## Sources

- CVE List: [CVE-2024-47764](https://www.cve.org/CVERecord?id=CVE-2024-47764), CVE Terms of Use, modified 2024-10-04
- GitHub Advisory Database: [GHSA-pxg6-pf52-xh8x](https://github.com/advisories/GHSA-pxg6-pf52-xh8x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-47764](https://nvd.nist.gov/vuln/detail/CVE-2024-47764), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47764 · Whole record: https://cve.day/CVE-2024-47764.json · Rebuilt by cve.day 2026-11-25T22:58:46.040Z
