{"id":"UBUNTU-CVE-2021-20066","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.","modified":"2026-05-20T16:04:41.873316578Z","published":"2021-02-16T20:15:00Z","upstream":["CVE-2021-20066"],"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"}],"affected":[{"package":{"name":"node-jsdom","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/node-jsdom?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.10+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.8.10+dfsg1-1","binary_name":"node-jsdom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"}},{"package":{"name":"node-jsdom","ecosystem":"Ubuntu:22.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_version":"19.0.0+~cs90.11.27-1","binary_name":"node-jsdom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"}},{"package":{"name":"node-jsdom","ecosystem":"Ubuntu:24.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jsdom","binary_version":"20.0.3+~cs124.18.21-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"}},{"package":{"name":"node-jsdom","ecosystem":"Ubuntu:25.10","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"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jsdom","binary_version":"20.0.3+~cs124.18.21-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"}},{"package":{"name":"node-jsdom","ecosystem":"Ubuntu:26.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jsdom","binary_version":"20.0.3+~cs124.18.21-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}