Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jsdom
  4. ›
  5. CVE-2021-20066

CVE-2021-20066: Insufficient Granularity of Access Control in JSDom

May 24, 2022 (updated June 22, 2022)

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.

References

  • github.com/advisories/GHSA-f4c9-cqv8-9v98
  • github.com/jsdom/jsdom/issues/3124
  • nvd.nist.gov/vuln/detail/CVE-2021-20066
  • www.tenable.com/security/research/tra-2021-05

Code Behaviors & Features

Detect and mitigate CVE-2021-20066 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 16.4.0

Fixed versions

  • 16.5.0

Solution

Upgrade to version 16.5.0 or above.

Impact 5.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Source file

npm/jsdom/CVE-2021-20066.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.