Submit #673800: Chatwoot * Origin Validation Errorinfo

TitleChatwoot * Origin Validation Error
DescriptionAn unrestricted postMessage vulnerability in Chatwoot widget integrations allows attackers to hijack the cw_conversation token via a crafted message. With one click, an attacker can steal this token and retrieve the full conversation history of a victim, potentially exposing sensitive information. The embedded widget listens to postMessage events without validating the origin of the sender. A malicious site can send a forged postMessage with the event popoutChatWindow, specifying a malicious baseUrl. Without validating the message origin, the widget directly calls popoutChatWindow with the supplied baseUrl. This function builds a popup URL that includes the cw_conversation cookie value as a parameter and opens it. The attacker can intercept the popup into their own controlled window and capture the cw_conversation token directly from the request URL.
Source⚠️ https://hckwr.com/blog/multiple-vulnerabilities-in-chatwoot/
User
 fpatrik (UID 9157)
Submission10/12/2025 14:55 (8 months ago)
Moderation10/26/2025 06:12 (14 days later)
StatusAccepted
VulDB entry329916 [chatwoot up to 4.7.0 Widget IFrameHelper.js initPostMessageCommunication baseUrl origin validation]
Points20

Do you know our Splunk app?

Download it now for free!