CVE-2022-25853
JavaScript vulnerability analysis and mitigation

Overview

All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization. The vulnerability was discovered and disclosed on December 19, 2022, and was assigned CVE-2022-25853. This security flaw affects all versions of the semver-tags package running on Node.js (Snyk Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) by NVD with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The flaw is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command Injection). The vulnerability exists in the getGitTagsRemote function where improper input sanitization allows for command injection attacks (NVD).

Impact

The vulnerability can lead to a complete compromise of system confidentiality, integrity, and availability within the scope of the affected component. An attacker who successfully exploits this vulnerability could execute arbitrary commands on the target system, potentially leading to unauthorized access, data manipulation, or service disruption (Snyk Advisory).

Mitigation and workarounds

Currently, there is no fixed version available for the semver-tags package. Users are advised to assess their exposure to this vulnerability and consider alternative packages or implementing additional security controls to prevent command injection attacks (Snyk Advisory).

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-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • argo-workflows-fips-3.6
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 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