p PatchFirst

CVE-2026-118660

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 8.6 · High · EPSS 0.4% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

  • happy-dom

    Versions
    • < 21.0.0: Affected

    No fix published

  • happy-dom npm

    Affected ranges
    • SEMVER: < 21.0.0

    Update to 21.0.0

Original sources

Check your server →