{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-46180","published":"2023-01-04T17:15:08.847000Z","last_modified":"2026-06-17T05:11:22.680000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-74","CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:discourse:mermaid:*:*:*:*:*:*:*:*","part":"a","vendor":"discourse","product":"mermaid","version_start_including":"1.0.0","version_end_excluding":"1.1.0"}],"cpes_truncated":false,"vendors":["discourse"],"products":["discourse/mermaid"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00663,"percentile":0.46601,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2022-46180/","html_en":"/en/cve/CVE-2022-46180/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46180","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46180"},"untrusted":{"vendor_name":"Discourse","product_name":"Mermaid","desc_en":"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.","affected":[{"untrusted_vendor":"discourse","untrusted_product":"discourse-mermaid-theme-component","versions":[]}],"references":[{"url":"https://github.com/discourse/discourse-mermaid-theme-component/commit/c10bc4a08bf865cee20e5d5dffba535762813f0f","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/discourse/discourse-mermaid-theme-component/pull/14","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/discourse/discourse-mermaid-theme-component/security/advisories/GHSA-8437-hgcm-p3q3","tags":["Third Party Advisory"]}]}}