{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "628f40c2abe97d31d9d70ffcb53ae183ce78f0b1"
            }
          ],
          "repo": "https://github.com/chatwoot/chatwoot",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0542.json"
  },
  "details": "Cross-site Scripting (XSS) - DOM in GitHub repository chatwoot/chatwoot prior to 2.7.0.",
  "id": "CVE-2022-0542",
  "modified": "2026-04-01T23:08:58.922884319Z",
  "published": "2022-08-19T17:55:09Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/e6469ba6-03a2-4b17-8b4e-8932ecd0f7ac"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0542.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0542"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chatwoot/chatwoot/commit/dd1fe4f93a6fbafa1d1eed87ac7d4143e701ec08"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-site Scripting (XSS) - DOM in chatwoot/chatwoot"
}