CVE-2021-20066
Withdrawn Advisory: Insufficient Granularity of Access Control 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used 5.6
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.
- Record
CVE-2021-20066- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2021-20066- Updated
- 2026-11-02
EUVDEUVD-2022-3683No score
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.
- Record
EUVD-2022-3683- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f4c9-cqv8-9v98 0.0
Withdrawn Advisory: Insufficient Granularity of Access Control in JSDom
Withdrawn Advisory
This advisory has been withdrawn because the user must configure jsdom to allow access to local files.
Original 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.
- Record
GHSA-f4c9-cqv8-9v98- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N - Weakness
- CWE-1220
- Updated
- 2026-11-02
OSVGHSA-f4c9-cqv8-9v98 0.0
Withdrawn Advisory: Insufficient Granularity of Access Control in JSDom
Withdrawn Advisory
This advisory has been withdrawn because the user must configure jsdom to allow access to local files.
Original 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.
- Record
GHSA-f4c9-cqv8-9v98- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N - Weakness
- CWE-1220
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-20066 5.6
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.
- Record
UBUNTU-CVE-2021-20066- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
node-jsdomUbuntu:16.04:LTS | All versions, plus listed versions 0.8.10+dfsg1-1 | None known |
node-jsdomUbuntu:22.04:LTS | All versions, plus listed versions 16.4.0+~cs77.17.35-318.0.1+~cs89.11.26-118.1.0+~cs90.11.25-118.1.1+~cs90.11.25-119.0.0+~cs90.11.27-1 | None known |
node-jsdomUbuntu:24.04:LTS | All versions, plus listed versions 20.0.3+~cs124.18.21-120.0.3+~cs124.18.21-4 | None known |
node-jsdomUbuntu:25.10 | All versions, plus listed versions 20.0.3+~cs124.18.21-420.0.3+~cs124.18.21-5 | None known |
node-jsdomUbuntu:26.10 | All versions, plus listed versions 20.0.3+~cs124.18.21-620.0.3+~cs124.18.21-10build3 | None known |
node-jsdomUbuntu:26.04:LTS | All versions, plus listed versions 20.0.3+~cs124.18.21-520.0.3+~cs124.18.21-6 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-20066 is a medium vulnerability (CVSS 5.6) in Jsdom Project Jsdom, published February 16, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.45%, the 73rd percentile. No source names a fixed version.