Skip to content
Heist/ feed
Back to feed
Medium

Discourse-chat plugin susceptible to XSS in channel name and description

Type: advisorySources: OSV

discourse-chat is a plugin for the Discourse message board which adds chat functionality. In versions prior to 0.9 some places render a chat channel's name and description in an unsafe way, allowing staff members to cause an cross site scripting (XSS) attack by inserting unsafe HTML into them. Version 0.9 has addressed this issue. Users are advised to upgrade. There are no known workarounds for this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39279
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:18 UTC · Revision 1

Source evidence

Discourse-chat plugin susceptible to XSS in channel name and description

core-osv · Original source

Published 6 Oct 2022, 00:00 UTC

discourse-chat is a plugin for the Discourse message board which adds chat functionality. In versions prior to 0.9 some places render a chat channel's name and description in an unsafe way, allowing staff members to cause an cross site scripting (XSS) attack by inserting unsafe HTML into them. Version 0.9 has addressed this issue. Users are advised to upgrade. There are no known workarounds for this issue.

osv:CVE-2022-39279
Complete source record
{
  "id": "8482a20ad3478d9ae76f70aacdbe9721d5fbe20969d879aabbe96a8e3400f716",
  "url": "https://osv.dev/vulnerability/CVE-2022-39279",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Discourse-chat plugin susceptible to XSS in channel name and description",
    "summary": "discourse-chat is a plugin for the Discourse message board which adds chat functionality. In versions prior to 0.9 some places render a chat channel's name and description in an unsafe way, allowing staff members to cause an cross site scripting (XSS) attack by inserting unsafe HTML into them. Version 0.9 has addressed this issue. Users are advised to upgrade. There are no known workarounds for this issue.",
    "evidence": "osv:CVE-2022-39279",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-39279",
      "aliases": [
        "CVE-2022-39279",
        "GHSA-qp62-8m3c-9jgj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/discourse/discourse-chat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "25737733af48e5b9fa60b0561d7fde14bea13cce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "25737733af48e5b9fa60b0561d7fde14bea13cce"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39279.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.513351066Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39279.json",
        "https://github.com/discourse/discourse-chat/security/advisories/GHSA-qp62-8m3c-9jgj",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39279",
        "https://github.com/discourse/discourse-chat/commit/25737733af48e5b9fa60b0561d7fde14bea13cce"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.9"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39279.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39279",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505620,
  "published_at": "2022-10-06T00:00:00+00:00"
}