Wiz Agents & Workflows are here

CVE-2022-21165
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-21165 affects all versions of the font-converter package, which is a FontForge wrapper for converting between different font formats (TTF, WOFF, OTF). The vulnerability was discovered and disclosed on August 7, 2022, and published on August 28, 2022. This security flaw involves an Arbitrary Command Injection vulnerability due to missing input sanitization (Snyk Advisory).

Technical details

The vulnerability stems from improper sanitization of input that flows into the child_process.exec() function, allowing for arbitrary command injection. The severity is rated as CRITICAL with a CVSS v3.1 base score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The vulnerability is classified as CWE-77 (Command Injection) and can be exploited remotely without requiring authentication or user interaction (Snyk Advisory, NVD).

Impact

The vulnerability can lead to a total loss of confidentiality, integrity, and availability of the affected system. An attacker can execute arbitrary commands on the system, potentially gaining complete control over the server running the vulnerable application. This could result in data theft, system compromise, or service disruption (Snyk Advisory).

Mitigation and workarounds

Currently, there is no fixed version available for the font-converter package. Users are advised to consider alternative font conversion solutions or implement strong input validation controls at the application level (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-34156CRITICAL9.9
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-javascript
NoYesMar 30, 2026
CVE-2026-34363HIGH8.2
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026
CVE-2026-33949HIGH8.1
  • JavaScriptJavaScript
  • @tinacms/graphql
NoYesMar 30, 2026
CVE-2026-34043MEDIUM5.9
  • JavaScriptJavaScript
  • serialize-javascript
NoYesMar 31, 2026
CVE-2026-34373MEDIUM5.3
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 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