CVE-2019-25158
JavaScript vulnerability analysis and mitigation

Overview

A critical vulnerability has been discovered in pedroetb tts-api up to version 2.1.4. The vulnerability affects the onSpeechDone function in app.js and allows for OS command injection. This vulnerability was assigned CVE-2019-25158 and was disclosed on December 19, 2023 (NVD).

Technical details

The vulnerability exists in the onSpeechDone function of app.js file and allows for OS command injection through improper neutralization of special elements. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating it can be exploited remotely with no privileges required (NVD).

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary OS commands on the affected system, potentially leading to complete system compromise with high impacts on confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 2.2.0. The patch (29d9c25415911ea2f8b6de247cb5c4607d13d434) changes the command execution approach from 'child_process.exec' to 'child_process.spawn', removing the possibility of sending shell commands to the API. Users are strongly recommended to upgrade to version 2.2.0 or later (GitHub Patch, GitHub Release).

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-2025-69264HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.5
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH7.5
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-22028HIGH7.2
  • JavaScriptJavaScript
  • preact
NoYesJan 07, 2026
CVE-2025-9611HIGH7.2
  • JavaScriptJavaScript
  • @playwright/mcp
NoYesJan 07, 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