Skip to content
Heist/ feed
Back to feed
Medium

Discourse: Stored XSS in discourse-ai shared conversations onebox

Type: advisorySources: OSV

Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, an attacker with the ability to create shared AI conversations could inject arbitrary HTML and JavaScript via crafted conversation titles. This payload would execute in the browser of any user viewing the onebox preview, potentially allowing session hijacking or unauthorized actions on behalf of the victim. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32243
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:58 UTC · Revision 1

Source evidence

Discourse: Stored XSS in discourse-ai shared conversations onebox

core-osv · Original source

Published 31 Mar 2026, 17:39 UTC

Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, an attacker with the ability to create shared AI conversations could inject arbitrary HTML and JavaScript via crafted conversation titles. This payload would execute in the browser of any user viewing the onebox preview, potentially allowing session hijacking or unauthorized actions on behalf of the victim. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

osv:CVE-2026-32243
Complete source record
{
  "id": "6d30cbc9bfe7ca1ca1af9cb6ab9d42e60b160df4c3defc8f6a3e7b3ea3b7b2da",
  "url": "https://osv.dev/vulnerability/CVE-2026-32243",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Discourse: Stored XSS in discourse-ai shared conversations onebox",
    "summary": "Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, an attacker with the ability to create shared AI conversations could inject arbitrary HTML and JavaScript via crafted conversation titles. This payload would execute in the browser of any user viewing the onebox preview, potentially allowing session hijacking or unauthorized actions on behalf of the victim. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.",
    "evidence": "osv:CVE-2026-32243",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-32243",
      "aliases": [
        "BIT-discourse-2026-32243",
        "CVE-2026-32243",
        "GHSA-pjc5-8x3w-rfwx"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/discourse/discourse",
              "type": "GIT",
              "events": [
                {
                  "introduced": "322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"
                },
                {
                  "fixed": "b3f024ce9587e678216892cbd967201b2450e197"
                },
                {
                  "introduced": "f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"
                },
                {
                  "fixed": "4431801e7b5af883edb430643fdace7608ffb6fb"
                },
                {
                  "introduced": "896e810e1b296478bba91559a8fc89a9926f11fe"
                },
                {
                  "fixed": "cac7d618a562ce934f8dbf73cdb70066a4806b4c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:latest:*:*:*",
                    "range": [
                      {
                        "introduced": "2026.1.0"
                      },
                      {
                        "fixed": "2026.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:latest:*:*:*",
                    "range": [
                      {
                        "introduced": "2026.2.0"
                      },
                      {
                        "fixed": "2026.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*",
                    "range": [
                      {
                        "introduced": "2026.3.0"
                      },
                      {
                        "last_affected": "2026.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest.1:*:*:*",
                    "range": [
                      {
                        "introduced": "2026.3.0"
                      },
                      {
                        "last_affected": "2026.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cac7d618a562ce934f8dbf73cdb70066a4806b4c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2026.3.0",
            "v2026.1.2",
            "v2026.2.1",
            "v2026.3.0-latest.1",
            "v2026.1.1",
            "v2026.2.0",
            "v2026.3.0-latest",
            "v2026.1.0",
            "stable",
            "esr",
            "v2026.2.0-latest",
            "v2026.1.0-latest"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32243.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.195736900Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32243.json",
        "https://github.com/discourse/discourse/security/advisories/GHSA-pjc5-8x3w-rfwx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32243",
        "https://github.com/discourse/discourse/commit/cac7d618a562ce934f8dbf73cdb70066a4806b4c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32243.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32243",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489498,
  "published_at": "2026-03-31T17:39:38.318+00:00"
}