CVE-2026-118660Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
- 8.6HighCVSS base score
- 0.40%Exploitation in 30 daysEPSS · top 65% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 21.0.0, Happy DOM loads iframe src URLs and link rel="stylesheet" href URLs by default while parsing untrusted HTML on the server because disableIframePageLoading and disableCSSFileLoading default to false. An attacker who controls parsed HTML can therefore cause server-side requests to arbitrary internal or cloud endpoints without an application opt-in and may expose confidential responses or credentials returned by those endpoints. This issue is fixed in version 21.0.0.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.40% · top 65% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
- affected < 21.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmhappy-domGHSA-c8p4-j97h-3vg8 (opens in a new tab)
References
References4
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/capricorn86/happy-dom/pull/2502 (opens in a new tab)x_refsource_MISC
- https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74 (opens in a new tab)x_refsource_MISC
- https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-112467 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c8p4-j97h-3vg8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-118660)Record last updated .