{"id":"CVE-2021-20066","aliases":["CVE-2021-20066","GHSA-f4c9-cqv8-9v98"],"related":[],"kind":"vulnerability","state":"published","title":"JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script…","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"JSDom permite inapropiadamente la carga de recursos locales, lo que permite que los archivos locales sean manipulados por una página web maliciosa cuando la ejecución de script está habilitada","source":"nvd"}],"published":"2021-02-16T19:48:08.000Z","modified":"2026-09-10T03:49:22.212Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N","score":0,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-1220"],"affected":[{"ranges":[{"version":"JSDom 16.4.0","status":"affected"}],"product":"JSDom","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"16.5.0"}],"ecosystem":"npm","package":"jsdom","purl":"pkg:npm/jsdom","source":"ghsa"},{"ranges":[],"vendor":"jsdom_project","product":"jsdom","cpe":"cpe:2.3:a:jsdom_project:jsdom:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2021-05","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20066","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jsdom/jsdom/issues/3124","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jsdom/jsdom","tags":["package"],"sources":["ghsa"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-JSDOM-1075447","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"tenable","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-20066","url":"https://www.cve.org/CVERecord?id=CVE-2021-20066","licence":"CVE Terms of Use","modified":"2024-08-03T17:30:07.411Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f4c9-cqv8-9v98","url":"https://github.com/advisories/GHSA-f4c9-cqv8-9v98","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:22.212Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-20066","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20066","licence":"Public domain","modified":"2026-06-17T03:33:13.037Z"}],"updatedAt":"2026-11-25T22:57:59.964Z","epss":{"score":0.01462,"percentile":0.74367,"date":"2026-12-01T12:00:22.000Z"}}