CVE-2026-118660
published high CVSS 3.1 · 8.6Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| capricorn86 | — | happy-dom< 21.0.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| capricorn86 | happy-dom | < 21.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4Provider assertions
2GitHub_M · cna
Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9e54b226ff36c1159816631221c71f5a6d4181bea6cb833f26bc1065ffd4709d
- Ingested
- 29 Oct 2026, 17:29:40 UTC
- Source record
- Official CVE record