Skip to content
OpenAdvisories
High · 7.2 CVE-2025-47948 EUVD-2025-28138GHSA-mj2c-8hxf-ffvq

Cocotais Bot has builtin .echo command injection

Published May 17, 2025 · Updated May 19, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
cocotais cocotais-bot >= 1.5.0-test2-hotfix, < 1.6.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm cocotais-bot >= 1.5.0-test2-hotfix, < 1.6.2 1.6.2 GHSA-mj2c-8hxf-ffvq

References