CVE-2020-7640: OS Command Injection in pixl-class

pixl-class Updated 02 Oct 2025

Summary

10/12/2021
Yes i
High
9.8

CVE-2020-7640: OS Command Injection in pixl-class. Affects pixl-class versions < 1.0.3. Fixed in 1.0.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

pixl-class is an npm package that provides a class-based object-oriented programming framework for JavaScript. It allows developers to create and manage objects with ease. However, prior to version 1.0.3, pixl-class is vulnerable to OS command injection. This means that the 'members' argument of the 'create' function can be controlled by users without any sanitization, leading to the execution of arbitrary commands.

Vulnerability Detail

The OS command injection vulnerability in pixl-class allows an attacker to execute arbitrary commands on the system where the vulnerable package is installed. By manipulating the 'members' argument of the 'create' function, an attacker can inject malicious commands that will be executed by the underlying operating system. This can result in unauthorized access, data breaches, or even complete compromise of the affected system. The vulnerability has a CVSS score of 9.8, indicating its high severity.

How To Fix

Minimum fixed version

1.0.3

This is the first release that contains the fix.

npm install pixl-class@1.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of pixl-class to mitigate the risk of OS command injection.

Conclusion

The OS command injection vulnerability in pixl-class can have severe consequences, including unauthorized access and data breaches. It is crucial to upgrade to the fixed version of the package (1.0.3 or later) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pixl-class →

Share this vulnerability

FAQ

pixl-class is an npm package that provides a class-based object-oriented programming framework for JavaScript.

OS command injection is a vulnerability that allows an attacker to execute arbitrary commands on the underlying operating system.

The vulnerability in pixl-class allows an attacker to execute arbitrary commands on the system where the vulnerable package is installed. This can lead to unauthorized access, data breaches, or complete compromise of the affected system.

The CVSS score of this vulnerability is 9.8, indicating its high severity.

To fix this vulnerability, it is recommended to upgrade to version 1.0.3 or later of the pixl-class package.

How To Fix

Minimum fixed version

1.0.3

This is the first release that contains the fix.

npm install pixl-class@1.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback