Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466a
- https://github.com/capricorn86/happy-dom/pull/2502
- https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8
FAQ
What is CVE-2026-118660?
CVE-2026-118660 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 pa...
How severe is CVE-2026-118660?
CVE-2026-118660 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-118660?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.