CVE-2026-118661
Last modified
CVE-2026-118661 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 20.14.6, Happy DOM's CookieContainer in src/cookie/CookieContainer.ts does not correctly validate or match Domain cookie attributes. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 20.14.6, Happy DOM's CookieContainer in src/cookie/CookieContainer.ts does not correctly validate or match Domain cookie attributes. It can accept a Domain unrelated to the origin setting the cookie, including a public suffix, and separately treats an unrelated suffix-sharing hostname as a match because cookieMatchesURL does not enforce a DNS-label boundary. In server-side rendering and prerendering applications that contact attacker-controlled origins and then make requests to a victim origin, these behaviors can plant and deliver a forged cookie, enabling cookie injection or session fixation. This issue is fixed in version 20.14.6.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| capricorn86 | happy-dom | < 20.14.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118661?
How severe is CVE-2026-118661?
How do I fix CVE-2026-118661?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118656Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanit…6.1
- CVE-2026-118657Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Conte…5.9
- CVE-2026-118658Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Conte…4.7
- CVE-2026-118659Happy DOM is a JavaScript implementation of a web browser wi…7.5
- CVE-2026-11866The Appointment Booking Plugin WordPress plugin before 5.6.…5.4
- CVE-2026-118660Happy DOM is a JavaScript implementation of a web browser wi…8.6
- CVE-2026-118662Vite is a frontend tooling framework for JavaScript. From 6.…6.9
- CVE-2026-118663@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-118664decode-uri-component provides a more robust alternative to d…8.2
- CVE-2026-118665GraphQL Tools provides utilities for building, stitching, an…8.2
- CVE-2026-118666GraphQL Tools provides utilities for building, stitching, an…6
- CVE-2026-118667LangGraph Python SDK is used to connect to running LangGraph…4.3
Are you affected by CVE-2026-118661?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
