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 package | Versions | Reported by |
|---|---|---|
| JSDom | JSDom 16.4.0 | CVE List |
| jsdom (npm) | before 16.5.0 | GitHub Advisory Database |
| jsdom_project jsdom | Not specified | NVD |
All scores
| GitHub | 0.0low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N |
| NVD | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 6.8medium CVSS:2.0 | AV: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
| https://www.tenable.com/security/research/tra-2021-05 | exploit, third-party-advisory, web | |
| https://github.com/jsdom/jsdom/issues/3124#issuecomment-783502951 | exploit, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-20066 | advisory | |
| https://github.com/jsdom/jsdom/issues/3124 | web | |
| https://github.com/jsdom/jsdom | package | |
| https://security.snyk.io/vuln/SNYK-JS-JSDOM-1075447 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20066 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f4c9-cqv8-9v98 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-20066 changed 2026-06-17 | Public domain |