Medium
node-jsdom — security advisory
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.
- Products
- node-jsdom
- Affected versions
- 0.8.10+dfsg1-1, 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, 20.0.3+~cs124.18.21-1, 20.0.3+~cs124.18.21-10build3, 20.0.3+~cs124.18.21-4, 20.0.3+~cs124.18.21-5, 20.0.3+~cs124.18.21-6
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20066
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:29 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2021-20066
node-jsdom
Fixed versions: Not specified
node-jsdom
Fixed versions: Not specified
node-jsdom
Fixed versions: Not specified
node-jsdom
Fixed versions: Not specified
node-jsdom
Fixed versions: Not specified
node-jsdom
Fixed versions: Not specified
Complete source record
{
"id": "d47d395fbc1997227345ef9fb2225e3e1e54b3362a8368b882c41997d1bcf044",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-20066",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "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.",
"evidence": "osv:UBUNTU-CVE-2021-20066",
"products": [
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.10+dfsg1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "16.4.0+~cs77.17.35-3",
"evidence": "/affected/1/versions"
},
{
"value": "18.0.1+~cs89.11.26-1",
"evidence": "/affected/1/versions"
},
{
"value": "18.1.0+~cs90.11.25-1",
"evidence": "/affected/1/versions"
},
{
"value": "18.1.1+~cs90.11.25-1",
"evidence": "/affected/1/versions"
},
{
"value": "19.0.0+~cs90.11.27-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.0.3+~cs124.18.21-1",
"evidence": "/affected/2/versions"
},
{
"value": "20.0.3+~cs124.18.21-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.0.3+~cs124.18.21-4",
"evidence": "/affected/3/versions"
},
{
"value": "20.0.3+~cs124.18.21-5",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.0.3+~cs124.18.21-6",
"evidence": "/affected/4/versions"
},
{
"value": "20.0.3+~cs124.18.21-10build3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-jsdom",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.0.3+~cs124.18.21-5",
"evidence": "/affected/5/versions"
},
{
"value": "20.0.3+~cs124.18.21-6",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-20066",
"aliases": [
"UBUNTU-CVE-2021-20066"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.8.10+dfsg1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "0.8.10+dfsg1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "19.0.0+~cs90.11.27-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"20.0.3+~cs124.18.21-1",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "20.0.3+~cs124.18.21-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"20.0.3+~cs124.18.21-4",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "20.0.3+~cs124.18.21-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"20.0.3+~cs124.18.21-6",
"20.0.3+~cs124.18.21-10build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20066.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "20.0.3+~cs124.18.21-10build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jsdom",
"purl": "pkg:deb/ubuntu/node-jsdom?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"20.0.3+~cs124.18.21-5",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jsdom",
"binary_version": "20.0.3+~cs124.18.21-6"
}
]
}
}
],
"modified": "2026-10-17T12:56:58.404053766Z",
"provider": "osv",
"upstream": [
"CVE-2021-20066"
],
"references": [
"https://ubuntu.com/security/CVE-2021-20066",
"https://www.tenable.com/security/research/tra-2021-05",
"https://github.com/jsdom/jsdom/issues/3124",
"https://www.cve.org/CVERecord?id=CVE-2021-20066"
]
},
"related_cves": [
{
"value": "CVE-2021-20066",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356584,
"published_at": "2021-02-16T20:15:00+00:00"
}