Vulnerability · Published Feb 16, 2021 · Assigned by tenable
CVE-2021-20066
Medium 5.6
In plain English
A medium-severity security flaw in JSDom. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.6Medium
Exploit odds (30 days)1.4%top 27.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-jsdom | no fix listed | UBUNTU-CVE-2021-20066 |
| Ubuntu:24.04:LTS | node-jsdom | no fix listed | UBUNTU-CVE-2021-20066 |
| Ubuntu:25.10 | node-jsdom | no fix listed | UBUNTU-CVE-2021-20066 |
| Ubuntu:26.04:LTS | node-jsdom | no fix listed | UBUNTU-CVE-2021-20066 |
| Ubuntu:26.10 | node-jsdom | no fix listed | UBUNTU-CVE-2021-20066 |
| npm | jsdom | 16.5.0 | GHSA-f4c9-cqv8-9v98 |
Affected products (as reported)
References
- https://www.tenable.com/security/research/tra-2021-05 x_refsource_MISC
- https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951 x_refsource_MISC