CVE-2026-118660
Happy DOM is a JavaScript implementation of a web browser without …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74
- github.com/capricorn86/happy-dom/pull/2502
- github.com/capricorn86/happy-dom/releases/tag/v21.0.0
- github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8
- github.com/advisories/GHSA-c8p4-j97h-3vg8
- nvd.nist.gov/vuln/detail/CVE-2026-118660
- cve.org/CVERecord?id=CVE-2026-118660
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.