CVE-2021-20066: Medium severity jsdom vulnerability

Published Feb 16, 2021
·
Updated

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.

Other sources

JSDom could allow a remote attacker to bypass security restrictions, caused by improperly allowing the loading of local resources. By sending a specially crafted request, an attacker could exploit this vulnerability to bypass access restrictions to manipulate local files by a malicious web page.

Affected Software

2 affected componentsFixes available
npm/jsdom<=16.4.0
16.5.0
Jsdom Project Jsdom

Event History

Feb 16, 2021
CVE Published
via MITRE·07:48 PM
Data Sourced
via MITRE·07:48 PM
DescriptionWeakness
Oct 25, 2021
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
May 24, 2022
Advisory Published
via GitHub·05:42 PM
Jul 19, 2024
Withdrawn
via GitHub·06:34 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-20066?

CVE-2021-20066 is a vulnerability that allows the loading of local resources in JSDom, which can be exploited to manipulate local files.

2

What is the severity of CVE-2021-20066?

CVE-2021-20066 has a severity rating of medium (5.6).

3

How does CVE-2021-20066 work?

CVE-2021-20066 allows a remote attacker to bypass security restrictions in JSDom and load local resources, enabling them to manipulate local files.

4

What software is affected by CVE-2021-20066?

JSDom versions prior to the patched version are affected by CVE-2021-20066.

5

How can I mitigate CVE-2021-20066?

To mitigate CVE-2021-20066, it is recommended to update JSDom to the latest patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203