Skip to content

Insufficient Granularity of Access Control in JSDom

Moderate severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Jan 29, 2023

Package

npm jsdom (npm)

Affected versions

<= 16.4.0

Patched versions

16.5.0

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.

References

Published by the National Vulnerability Database Feb 16, 2021
Published to the GitHub Advisory Database May 24, 2022
Reviewed Jun 22, 2022
Last updated Jan 29, 2023

Severity

Moderate
5.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses

CVE ID

CVE-2021-20066

GHSA ID

GHSA-f4c9-cqv8-9v98

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.