Skip to content
Heist/ feed
Back to feed
Medium

Stored XSS in chatwoot/chatwoot

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-0640
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:01 UTC · Revision 1

Source evidence

Stored XSS in chatwoot/chatwoot

core-osv · Original source

Published 20 Mar 2025, 10:10 UTC

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.

osv:CVE-2024-0640
Complete source record
{
  "id": "3fb4cd3b2a59dc78841231dad506e6f83e64780ea049ec963404dbf2bfa32bcc",
  "url": "https://osv.dev/vulnerability/CVE-2024-0640",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stored XSS in chatwoot/chatwoot",
    "summary": "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.",
    "evidence": "osv:CVE-2024-0640",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-0640",
      "aliases": [
        "CVE-2024-0640"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/chatwoot/chatwoot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "608592db0c11db142c9a281d1d34b715ad33d6c0"
                },
                {
                  "fixed": "e39c14460b860d5e3d23d989dd6af48404ad1bb4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:chatwoot:chatwoot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.5.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e39c14460b860d5e3d23d989dd6af48404ad1bb4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.5.1",
            "v3.5.0",
            "v3.4.0",
            "v3.3.1",
            "v3.3.0",
            "v3.2.0",
            "v3.1.1",
            "v3.1.0",
            "v3.0.0",
            "v2.18.0",
            "v3.0.0-rc1",
            "v2.17.1",
            "v2.17.0",
            "2.16.1",
            "v2.16.0",
            "v2.15.0",
            "v2.14.0",
            "v2.13.1",
            "v2.13.0",
            "v2.12.1",
            "v2.12.0",
            "v2.11.0",
            "v2.10.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.1",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.22.1",
            "v1.22.0",
            "v1.21.1",
            "v1.21.0",
            "v1.20.0",
            "v1.19.0",
            "v1.18.1",
            "v1.18.0",
            "v1.17.1",
            "v1.17.0",
            "v1.16.2",
            "v1.16.1",
            "v1.15.1",
            "v1.15.0",
            "v1.14.3",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.1",
            "v1.13.0",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.1",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.4",
            "1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0640.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.901576041Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/08b3bebf-ce3c-4416-b75e-1927ba61de85",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0640.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-0640",
        "https://github.com/chatwoot/chatwoot/commit/e39c14460b860d5e3d23d989dd6af48404ad1bb4"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0640.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-0640",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515933,
  "published_at": "2025-03-20T10:10:52.31+00:00"
}