Vulnerability · Published May 17, 2025 · Assigned by GitHub_M

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

High 7.2

In plain English

A high-severity injection in cocotais-bot from cocotais. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)0.4%top 64.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Cocotais Bot is a QQ official robot framework based on qq-bot-sdk. Starting in version 1.5.0-test2-hotfix and prior to version 1.6.2, 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. Version 1.6.2 contains a patch for the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmcocotais-bot1.6.2GHSA-mj2c-8hxf-ffvq

Affected products (as reported)

VendorProductVersions
cocotais cocotais-bot >= 1.5.0-test2-hotfix, < 1.6.2

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L

References