CVE-2020-7626
JavaScript vulnerability analysis and mitigation

Overview

karma-mojo is a plugin for Karma that provides functionality for running a select subset of tests instead of the entire test suite. A command injection vulnerability (CVE-2020-7626) was discovered in all versions of karma-mojo. The vulnerability was disclosed on April 2, 2020, and affects all versions of the package (Snyk).

Technical details

The vulnerability exists because the config argument can be controlled by users without any sanitization, allowing for command injection. The issue has a CVSS v3.1 base score of 7.5, indicating medium severity. The vulnerability is exploitable remotely and requires no special privileges or user interaction (CISA, Snyk).

Impact

A successful exploitation of this vulnerability could lead to arbitrary command execution on the affected system. An attacker could inject malicious commands through the config argument, potentially compromising the security of the system running the karma-mojo plugin (Snyk).

Mitigation and workarounds

There is no fixed version available for karma-mojo. Users are advised to assess their usage of this package and consider alternative solutions or implementing additional security controls to prevent command injection attacks (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management