CVE-2021-23378
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-23378 affects all versions of the picotts package, which is a PicoTTS wrapper used by Android for text-to-speech functionality. The vulnerability was disclosed on February 23, 2021, and published on April 18, 2021. This security flaw allows attackers to execute arbitrary commands through unsanitized user input passed to the say function (Snyk).

Technical details

The vulnerability stems from improper input sanitization in the say function, which utilizes the child_process exec function without proper security measures. The vulnerability has been assigned a CVSS base score of 9.8 (Critical), indicating its severe nature. The attack vector is network-based, with low attack complexity, requiring no privileges or user interaction (Snyk).

Impact

The vulnerability can lead to a complete compromise of system confidentiality, integrity, and availability. An attacker can achieve total loss of confidentiality resulting in all resources being exposed, complete loss of integrity allowing modification of protected files, and total loss of availability causing denial of service (Snyk).

Exploitability

The vulnerability is easily exploitable with a proof-of-concept available. A simple example demonstrates the vulnerability: var picotts = require('picotts'); picotts.say('$(touch success)', 'english', function() {}); which creates a file named 'success' through command injection (Snyk).

Mitigation and workarounds

Currently, there is no fixed version available for the picotts package. Users should consider using alternative text-to-speech solutions or implement proper input sanitization mechanisms (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-54155HIGH7.7
  • JavaScript logoJavaScript
  • node-opcua
NoNoAug 20, 2026
CVE-2026-54156HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 20, 2026
CVE-2026-55451MEDIUM6.9
  • JavaScript logoJavaScript
  • gettext-converter
NoYesAug 20, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesAug 20, 2026
GHSA-ghvf-qf6h-g8x5HIGHN/A
  • JavaScript logoJavaScript
  • @nocobase/server
NoYesAug 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