{"id":"CVE-2021-20066","aliases":["GHSA-f4c9-cqv8-9v98","UBUNTU-CVE-2021-20066"],"summary":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","published_at":"2021-02-16T00:00:00Z","modified_at":"2026-10-17T12:56:58.404053Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.014619999565184116,"percentile":0.7416899800300598,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"details":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","affected_stack":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"}],"affected_other":[{"ecosystem":"Ubuntu:16.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.10+dfsg1-1"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.4.0+~cs77.17.35-3","18.0.1+~cs89.11.26-1","18.1.0+~cs90.11.25-1","18.1.1+~cs90.11.25-1","19.0.0+~cs90.11.27-1"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-1","20.0.3+~cs124.18.21-4"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-4","20.0.3+~cs124.18.21-5"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-5","20.0.3+~cs124.18.21-6"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-6","20.0.3+~cs124.18.21-10build3"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"npm","package":"jsdom","purl":"pkg:npm/jsdom","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"16.5.0"}]}],"fixed":["16.5.0"],"provider":"osv","source":"GHSA-f4c9-cqv8-9v98","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["kiali"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["search-api"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-grafana","openshift4/ose-prometheus","openshift4/ose-thanos-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-20066"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2229","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-08-30T22:00:00Z","modified_at":"2025-11-18T23:00:00Z","summary":"Splunk Splunk Enterprise: Mehrere Schwachstellen","details":"Ein entfernter, authentifizierter Angreifer kann mehrere Schwachstellen in Splunk Splunk Enterprise ausnutzen, um beliebigen Code auszuführen, einen 'Denial of Service'-Zustand zu verursachen, seine Privilegien zu erweitern und weitere, nicht spezifizierte Auswirkungen zu verursachen.\n\nSplunk Enterprise ermöglicht Monitoring und Analyse von Clickstream-Daten und Kundentransaktionen.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2023-2229"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2229.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0801"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0802"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0803"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0804"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0805"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0806"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0807"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0808"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-January/017743.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2024-2988.html"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2024-0718"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2024-0801"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UB7MGNRMXC5LO5Y66FLOE354VVU5ULQK/"},{"type":"WEB","url":"https://confluence.atlassian.com/security/security-bulletin-november-18-2025-1671463469.html"}]},{"provider":"cvelistv5","source_id":"CVE-2021-20066","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066","license":"CC-BY-4.0","published_at":"2021-02-16T19:48:08Z","modified_at":"2024-08-03T17:30:07.411Z","summary":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","details":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2021-05"},{"type":"WEB","url":"https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951"}]},{"provider":"osv","source_id":"GHSA-f4c9-cqv8-9v98","relation":"self","url":"https://osv.dev/vulnerability/GHSA-f4c9-cqv8-9v98","license":"CC-BY-4.0","published_at":"2022-05-24T17:42:20Z","modified_at":"2026-09-10T03:49:22.212015Z","withdrawn_at":"2024-07-19T18:34:30Z","summary":"Withdrawn Advisory: Insufficient Granularity of Access Control in JSDom","details":"# Withdrawn Advisory\n\nThis advisory has been withdrawn because the user must configure jsdom to allow access to local files.\n\n# Original Description\n\nJSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N","source":"GHSA-f4c9-cqv8-9v98"}],"affected":[{"ecosystem":"npm","package":"jsdom","purl":"pkg:npm/jsdom","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"16.5.0"}]}],"fixed":["16.5.0"],"provider":"osv","source":"GHSA-f4c9-cqv8-9v98","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20066"},{"type":"WEB","url":"https://github.com/jsdom/jsdom/issues/3124"},{"type":"WEB","url":"https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951"},{"type":"PACKAGE","url":"https://github.com/jsdom/jsdom"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-JSDOM-1075447"},{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2021-05"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-20066","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-20066","license":"CC-BY-SA-4.0","published_at":"2021-02-16T20:15:00Z","modified_at":"2026-10-17T12:56:58.404053Z","details":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"UBUNTU-CVE-2021-20066"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-20066"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.10+dfsg1-1"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.4.0+~cs77.17.35-3","18.0.1+~cs89.11.26-1","18.1.0+~cs90.11.25-1","18.1.1+~cs90.11.25-1","19.0.0+~cs90.11.27-1"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-1","20.0.3+~cs124.18.21-4"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-4","20.0.3+~cs124.18.21-5"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-5","20.0.3+~cs124.18.21-6"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-jsdom","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.0.3+~cs124.18.21-6","20.0.3+~cs124.18.21-10build3"],"provider":"osv","source":"UBUNTU-CVE-2021-20066","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20066"},{"type":"REPORT","url":"https://www.tenable.com/security/research/tra-2021-05"},{"type":"REPORT","url":"https://github.com/jsdom/jsdom/issues/3124"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066"}]},{"provider":"redhat-vex","source_id":"CVE-2021-20066","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-20066","license":"CC-BY-4.0","published_at":"2021-02-16T00:00:00Z","modified_at":"2023-08-31T09:04:48Z","summary":"jsdom: improper loading of local resources","details":"A flaw was found in jsdom. JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script execution is enabled.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2021-20066"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-20066"}],"affected":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-20066","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["kiali"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["search-api"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-20066"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-grafana","openshift4/ose-prometheus","openshift4/ose-thanos-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-20066"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20066.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-20066"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1930915"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20066"},{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2021-05"}]}],"references":[{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2021-05"},{"type":"WEB","url":"https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20066"},{"type":"WEB","url":"https://github.com/jsdom/jsdom/issues/3124"},{"type":"PACKAGE","url":"https://github.com/jsdom/jsdom"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-JSDOM-1075447"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20066"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20066.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-20066"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1930915"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2229","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-11-18T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-20066","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066","license":"CC-BY-4.0","modified_at":"2024-08-03T17:30:07.411Z","relation":"self"},{"provider":"osv","source_id":"GHSA-f4c9-cqv8-9v98","url":"https://osv.dev/vulnerability/GHSA-f4c9-cqv8-9v98","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:22.212015Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-20066","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-20066","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:56:58.404053Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-20066","url":"https://access.redhat.com/security/cve/CVE-2021-20066","license":"CC-BY-4.0","modified_at":"2023-08-31T09:04:48Z","relation":"self"}]}
