{"id":"CVE-2022-46180","published":"2023-01-04T16:44:54Z","modified":"2025-03-10T21:32:39Z","title":"Arbitrary HTML injection in discourse-mermaid-theme-component","vendor":"discourse","product":"discourse-mermaid-theme-component","tier":"tail","description":{"text":"Discourse Mermaid (discourse-mermaid-theme-component) allows users of Discourse, open-source forum software, to create graphs using the Mermaid syntax. Users of discourse-mermaid-theme-component version 1.0.0 who can create posts are able to inject arbitrary HTML on that post. The issue has been fixed on the `main` branch of the GitHub repository, with 1.1.0 named as a patched version. Admins can update the theme component through the admin UI. As a workaround, admins can temporarily disable discourse-mermaid-theme-component.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0051,"percentile":0.44418,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/discourse/discourse-mermaid-theme-component/security/advisories/GHSA-8437-hgcm-p3q3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse-mermaid-theme-component/pull/14","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse-mermaid-theme-component/commit/c10bc4a08bf865cee20e5d5dffba535762813f0f","tags":["x_refsource_MISC"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":8.88},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse-mermaid-theme-component","versions":["= 1.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T21:00:39.765652Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-49000","exploited":false,"provenance":"source"}}