{"id":"CVE-2026-33395","state":"PUBLISHED","title":"Discourse has stored click‑based XSS via Graphviz SVG javascript: links","description":"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.","publishedAt":"2026-03-19T22:33:19.328Z","updatedAt":"2026-03-20T16:40:49.907Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":">= 2026.1.0-latest, < 2026.1.2","status":"affected"},{"version":">= 2026.2.0-latest, < 2026.2.1","status":"affected"},{"version":"= 2026.3.0-latest","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-23c7-gq89-xm5v","https://github.com/discourse/discourse/commit/0471e68ed0b594bf386e068f228849244b880ef1","https://github.com/discourse/discourse/commit/0c861df8bea03dcc01b60da6cc7038e6c88de4ee","https://github.com/discourse/discourse/commit/472f9e1f7855307e489e9eaa6825d5335dfc08b5"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33395.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33395","state":"PUBLISHED","datePublished":"2026-03-19T22:33:19.328Z","dateUpdated":"2026-03-20T16:40:49.907Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-19T17:02:34.169Z"},"containers":{"cna":{"title":"Discourse has stored click‑based XSS via Graphviz SVG javascript: links","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":">= 2026.1.0-latest, < 2026.1.2","status":"affected"},{"version":">= 2026.2.0-latest, < 2026.2.1","status":"affected"},{"version":"= 2026.3.0-latest","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-23c7-gq89-xm5v","name":"https://github.com/discourse/discourse/security/advisories/GHSA-23c7-gq89-xm5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/0471e68ed0b594bf386e068f228849244b880ef1","name":"https://github.com/discourse/discourse/commit/0471e68ed0b594bf386e068f228849244b880ef1","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/0c861df8bea03dcc01b60da6cc7038e6c88de4ee","name":"https://github.com/discourse/discourse/commit/0c861df8bea03dcc01b60da6cc7038e6c88de4ee","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/472f9e1f7855307e489e9eaa6825d5335dfc08b5","name":"https://github.com/discourse/discourse/commit/472f9e1f7855307e489e9eaa6825d5335dfc08b5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-19T22:33:19.328Z"},"source":{"advisory":"GHSA-23c7-gq89-xm5v","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-20T16:40:42.777185Z","id":"CVE-2026-33395","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-20T16:40:49.907Z"}}]}}}