# CVE-2026-118660: Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 21.0.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-28 · Modified: 2026-10-29
- Aliases: GHSA-c8p4-j97h-3vg8
- Record: https://cvemate.com/vulnerability/CVE-2026-118660 · JSON: https://cvemate.com/vulnerability/CVE-2026-118660/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.512%, percentile 45.163%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- capricorn86 happy-dom: \< 21.0.0
- Npm happy-dom (Npm): \< 21.0.0

## References

- <https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8>
- <https://github.com/capricorn86/happy-dom/pull/2502>
- <https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74>
- <https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0>
- <https://github.com/capricorn86/happy-dom>

---

Data as of 2026-12-05T06:50:09.223Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
