{
  "id": "CVE-2026-118660",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118660",
  "published_at": "2026-10-28T20:23:10.122Z",
  "title": "Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML",
  "vendor": "capricorn86",
  "product": "happy-dom",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "capricorn86",
        "product": "happy-dom",
        "ranges": [
          "\u003c 21.0.0"
        ],
        "fixed_in": [
          "21.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade happy-dom to 21.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/capricorn86/happy-dom/pull/2502"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
