CyberRota Analysis
AI-GeneratedBaileys, a TS/JavaScript API for WhatsApp Web, is vulnerable in versions prior to 6.7.22 and 7.0.0-rc12, allowing attackers to send malicious payloads that can spoof messages and corrupt the app's state sync system. This vulnerability poses a risk of message integrity loss and can lead to the injection of fake message history, compromising user trust and application reliability. Developers and organizations utilizing Baileys should prioritize updating to the patched versions to mitigate these risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Baileys is a cocket-based TS/JavaScript API for WhatsApp Web. In versions prior to both 6.7.22 and 7.0.0-rc12, any Baileys session can be sent a malicious payload via the placeholderResendMessage and trigger a fake messages.upsert event with a fake message key and payload. This allows anyone to spoof messages. The same exploit also allows an attacker to corrupt the app state sync system by sending fake key shares, and also allows for history sync spoofing which also serves the same problem, injecting fake previous context or "on-demand" sync. This issue has been fixed in versions 6.7.22 and 7.0.0-rc12.