CVE-2025-47948
JavaScript vulnerability analysis and mitigation

Overview

Cocotais Bot, a QQ official robot framework based on qq-bot-sdk, contains a security vulnerability discovered on May 17, 2025. The vulnerability affects versions from 1.5.0-test2-hotfix up to and including 1.6.1, with version 1.6.2 containing the patch (GitHub Advisory).

Technical details

The vulnerability stems from improper neutralization of special elements in the command echoing feature. The framework's /echo command fails to sanitize or filter platform-specific control elements, allowing users to inject special platform tags. The vulnerability has been assigned a CVSS v3.1 base score of 7.2 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L, indicating network accessibility, low attack complexity, and no required privileges or user interaction (GitHub Advisory).

Impact

When exploited, this vulnerability allows unauthorized users to bypass permission controls and trigger privileged behavior. Specifically, attackers can use the /echo command to send messages that mention all members in a chat, effectively gaining access to the @全体成员 (mention all) functionality without proper authorization. This can lead to spam, disruption of chat communications, and abuse of notification systems (GitHub Advisory).

Exploitability

The vulnerability is easily exploitable through the built-in echo command functionality. An unauthorized user can send a specially crafted message using the /echo command to trigger the privileged behavior, requiring no special privileges or user interaction (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.6.2 of Cocotais Bot. Users are strongly advised to upgrade to this version to receive the security fix. The patch involves removing the built-in echo command functionality, as evidenced by the commit that removes this feature (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-49250HIGH8.7
  • JavaScript logoJavaScript
  • @conform-to/dom
NoYesSep 14, 2026
CVE-2026-55091HIGH7.5
  • JavaScript logoJavaScript
  • flat-to-nested
NoYesSep 14, 2026
CVE-2026-59960HIGH7.5
  • JavaScript logoJavaScript
  • @argos-ci/core
NoYesSep 14, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesSep 14, 2026
CVE-2026-57583LOW3.3
  • JavaScript logoJavaScript
  • @openzeppelin/wizard
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management