Skip to content

xopen is vulnerable to OS Command Injection in Exported Function xopen(filepath)

Critical severity GitHub Reviewed Published Jul 26, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm xopen (npm)

Affected versions

<= 1.0.0

Patched versions

None

Description

A command injection vulnerability affects all versions of package xopen. The injection point is located in line 14 in index.js in the exported function xopen(filepath).

References

Published by the National Vulnerability Database Jul 25, 2022
Published to the GitHub Advisory Database Jul 26, 2022
Reviewed Aug 6, 2022
Last updated Jan 27, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

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

CVE ID

CVE-2020-28447

GHSA ID

GHSA-74wf-cwjg-9cf2

Source code

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