CVE-2021-26543
JavaScript vulnerability analysis and mitigation

Overview

The gitDiff function in Wayfair git-parse <=1.0.4 contains a command injection vulnerability. This vulnerability affects clients of the git-parse library who might unknowingly write code that contains this vulnerability. The issue was discovered and fixed in version 1.0.5 (NVD).

Technical details

The vulnerability exists in the gitDiff function implementation of git-parse library versions 1.0.4 and earlier. It has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (NVD).

Impact

If exploited, this vulnerability could allow attackers to execute arbitrary commands through command injection. The high CVSS score indicates that successful exploitation could lead to significant compromise of the system's confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires user interaction but can be exploited remotely without authentication. The attack complexity is considered low, making it relatively straightforward to exploit if the conditions are met (NVD).

Mitigation and workarounds

The recommended mitigation is to upgrade to git-parse version 1.0.5 or later, which contains the fix for this vulnerability (NPM Package).

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-63376HIGH8.2
  • JavaScript logoJavaScript
  • cockpit-image-builder.src
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • toml
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 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