Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cocotais-bot
  4. ›
  5. CVE-2025-47948

CVE-2025-47948: Cocotais Bot has builtin .echo command injection

May 19, 2025

A command echoing feature in the framework allows users to indirectly trigger privileged behavior by injecting special platform tags. Specifically, an unauthorized user can use the /echo <qqbot-at-everyone /> command to cause the bot to send a message that mentions all members in the chat, bypassing any permission controls. This can lead to spam, disruption, or abuse of notification systems.

References

  • github.com/advisories/GHSA-mj2c-8hxf-ffvq
  • github.com/cocotais/cocotais-bot
  • github.com/cocotais/cocotais-bot/commit/d1cf01a9a41b3131241d1833444b890c8d6e70b8
  • github.com/cocotais/cocotais-bot/security/advisories/GHSA-mj2c-8hxf-ffvq
  • nvd.nist.gov/vuln/detail/CVE-2025-47948

Code Behaviors & Features

Detect and mitigate CVE-2025-47948 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.5.0-test2-hotfix before 1.6.2

Fixed versions

  • 1.6.2

Solution

Upgrade to version 1.6.2 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

npm/cocotais-bot/CVE-2025-47948.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.