CVE-2024-0640: A stored cross-site scripting (XSS) vulnerability exists in chatwoot/chatwoot versions 3.0.0 to 3.5.1
CVE-2024-0640 is a medium-severity flaw (CVSS 4.8) affecting chatwoot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A stored cross-site scripting (XSS) vulnerability exists in chatwoot/chatwoot versions 3.0.0 to 3.5.1. This vulnerability allows an admin user to inject malicious JavaScript code via the dashboard app settings, which can then be executed by another admin user when they access the affected dashboard app. The issue is fixed in version 3.5.2.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 81%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-0640?
chatwoot: upgrade to 3.5.2. Exact commands for each OS are on this page.
Is CVE-2024-0640 being exploited?
CVE-2024-0640 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-0640 affect?
CVE-2024-0640 affects chatwoot. Severity is medium (CVSS 4.8). A stored cross-site scripting (XSS) vulnerability exists in chatwoot/chatwoot versions 3.0.0 to 3.5.1. This vulnerability allows an admin user to inject malicious JavaScript code via the dashboard app settings, which can then be executed by
How urgent is CVE-2024-0640?
Priority 27/100. Public exploit reference
Related CVEs
- CVE-2025-12245 MEDIUM 5.3 UPGRADE A vulnerability was identified in chatwoot up to 4.7.0
- CVE-2025-12246 MEDIUM 4.3 UPGRADE A security flaw has been discovered in chatwoot up to 4.7.0
- CVE-2025-21628 CRITICAL 9.1 UPGRADE Chatwoot is a customer engagement suite
- CVE-2021-3742 HIGH 8.8 UPGRADE A Server-Side Request Forgery (SSRF) vulnerability was discovered in chatwoot/chatwoot, affecting all versions
- CVE-2021-3741 MEDIUM 5.4 UPGRADE A stored cross-site scripting (XSS) vulnerability was discovered in chatwoot/chatwoot, affecting all versions