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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-17T18:42:24.382Z
- Modified: 2026-09-10T03:50:57.596Z
- Also known as: GHSA-mj2c-8hxf-ffvq
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- cocotais cocotais-bot: >= 1.5.0-test2-hotfix, < 1.6.2
- cocotais-bot (npm): from 1.5.0-test2-hotfix before 1.6.2

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/cocotais/cocotais-bot/security/advisories/GHSA-mj2c-8hxf-ffvq> (exploit, web)
- <https://github.com/cocotais/cocotais-bot/commit/d1cf01a9a41b3131241d1833444b890c8d6e70b8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-47948> (advisory)
- <https://github.com/cocotais/cocotais-bot> (package)

## Sources

- CVE List: [CVE-2025-47948](https://www.cve.org/CVERecord?id=CVE-2025-47948), CVE Terms of Use, modified 2025-05-19
- GitHub Advisory Database: [GHSA-mj2c-8hxf-ffvq](https://github.com/advisories/GHSA-mj2c-8hxf-ffvq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-47948](https://nvd.nist.gov/vuln/detail/CVE-2025-47948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47948 · Whole record: https://cve.day/CVE-2025-47948.json · Rebuilt by cve.day 2026-11-25T22:58:58.173Z
