CVE-2021-20066 Path traversal in JSDom
JSDom allows malicious web pages to access and modify local files when script execution is enabled, risking data exposure and integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-20066?
CVE-2021-20066 is a medium-severity path traversal vulnerability in JSDom, published on 16 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Which versions are affected by CVE-2021-20066?
It affects 1 product.
Products include Jsdom Project Jsdom.
How do I fix CVE-2021-20066?
No fix has been published for CVE-2021-20066 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-20066 being exploited?
There is no known exploitation of CVE-2021-20066 in the wild and no public exploit code.
Sources
Also known as UBUNTU-CVE-2021-20066.