Skip to main content
VulnerabilityPublished

CVE-2026-118661: capricorn86 happy-dom · Unvalidated Cookie Trust

Affects capricorn86 happy-domSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 20.14.6 when convenient.

Data as of 28 Oct 2026, 20:57 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 20.14.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade capricorn86 happy-dom to 20.14.6.

Affected software

ProductAffectedFixed in
capricorn86happy-domAffected
  • <20.14.6
Fixed in
  • 20.14.6
npmhappy-dompkg:npm/happy-domOther threatsAffected
  • <20.14.6
Fixed in
  • 20.14.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Happy DOM to version 20.14.6 or later, where the issue is fixed. No additional mitigation is required once the update is applied.

Description

Happy DOM versions prior to 20.14.6 have a vulnerability in their CookieContainer where domain attributes of cookies are not properly validated. This flaw allows acceptance of cookies with domains unrelated to the origin, including public suffixes, and treats unrelated suffix-sharing hostnames as matches. This can lead to cookie injection or session fixation in server-side rendering or prerendering scenarios involving attacker-controlled origins. The issue is fixed in version 20.14.6.

References

Community reviews

Loading reviews…