CVE-2021-20066
JSON

5.6medium

JSDom improperly allows the loading of local resources, which allows for local files to be manipulated by a malicious web page when script…

Severity
5.6medium CVSS:3.1 by NVD
Exploit likelihood
1.46% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
tenable
Also known as
GHSA-f4c9-cqv8-9v98

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

Product or packageVersionsReported by
JSDomJSDom 16.4.0CVE List
jsdom (npm)before 16.5.0GitHub Advisory Database
jsdom_project jsdomNot specifiedNVD

All scores

GitHub0.0low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N
NVD5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

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

References

Sources

SourceRecordLicence
CVE ListCVE-2021-20066 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4c9-cqv8-9v98 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-20066 changed 2026-06-17Public domain