{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.1.0-latest"
              },
              {
                "fixed": "2026.1.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"
            },
            {
              "fixed": "808b2ac23d8ff421563b40203091026732471c60"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.2.0-latest"
              },
              {
                "fixed": "2026.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"
            },
            {
              "fixed": "f38464e46df1b8c51f7d60826502476908d6bb2b"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "= 2026.3.0-latest"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "896e810e1b296478bba91559a8fc89a9926f11fe"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-23c7-gq89-xm5v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33395.json"
  },
  "details": "Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, the discourse-graphviz plugin contains a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious JavaScript code through DOT graph definitions. For instances with CSP disabled only. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contain a patch. As a workaround, disable the graphviz plugin, upgrade to a patched version, or enable a content security policy.",
  "id": "CVE-2026-33395",
  "modified": "2026-04-01T23:10:36.408933828Z",
  "published": "2026-03-19T22:33:19.328Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33395.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-23c7-gq89-xm5v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33395"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/0471e68ed0b594bf386e068f228849244b880ef1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/0c861df8bea03dcc01b60da6cc7038e6c88de4ee"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/472f9e1f7855307e489e9eaa6825d5335dfc08b5"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Discourse has stored click‑based XSS via Graphviz SVG javascript: links"
}