CVE-2025-21628 Chatwoot has a Blind SQL-injection in Conversation and Contacts filters
Authenticated attackers can execute arbitrary SQL queries via unsanitized filter inputs in Chatwoot, potentially reading or modifying data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21628?
CVE-2025-21628 is a critical SQL injection vulnerability in chatwoot, published on 9 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Chatwoot is a customer engagement suite. Prior to 3.16.0, conversation and contact filters endpoints did not sanitize the input of query_operator passed from the frontend or the API. This provided any actor who is authenticated, an attack vector to run arbitrary SQL within the filter query by adding a tautological WHERE clause. This issue is patched with v3.16.0.
Weakness: CWE-89
Which versions are affected by CVE-2025-21628?
It affects 1 product.
Products include Chatwoot Chatwoot.
How do I fix CVE-2025-21628?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-21628 being exploited?
There is no known exploitation of CVE-2025-21628 in the wild and no public exploit code.
Other vulnerabilities in chatwoot
- CVE-2022-3741 Improper Restriction of Excessive Authentication Attempts in chatwoot/chatwoot
- CVE-2022-0542 Cross-site Scripting (XSS) - DOM in chatwoot/chatwoot
- CVE-2022-1022 Cross-site Scripting (XSS) - Stored in chatwoot/chatwoot
- CVE-2021-3742 Server-Side Request Forgery (SSRF) in chatwoot/chatwoot
- CVE-2021-3741 Stored Cross-site Scripting (XSS) in chatwoot/chatwoot
Sources
Also known as CLEANSTART-2026-IL49737, GHSA-g8f9-hh83-rcq9.