{"id":"DHI-and3-u7qm-xo5k-ptmd","summary":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 20.14.6, Happy…","details":"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.","modified":"2026-11-21T00:30:08.836974411Z","published":"2026-11-13T01:03:39Z","upstream":["CVE-2026-118661"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-and3-u7qm-xo5k-ptmd"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118661"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5fpq-26gf-qwcr"},{"type":"ADVISORY","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-5fpq-26gf-qwcr"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/pull/2477"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/commit/f21dbd7d0a0c63cdd41954ba5d0f05def4e0f2b3"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.14.6"}],"affected":[{"package":{"name":"teleport-18-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-and3-u7qm-xo5k-ptmd.json"}},{"package":{"name":"teleport-18-fips-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-and3-u7qm-xo5k-ptmd.json","owner_kind":"HSP"}},{"package":{"name":"teleport-18-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-and3-u7qm-xo5k-ptmd.json"}},{"package":{"name":"teleport-18","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-and3-u7qm-xo5k-ptmd.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}