CVE-2022-46180 - CVE House
Back to Database
Status published Medium CVE-2022-46180

Arbitrary HTML injection in discourse-mermaid-theme-component

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-46180

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

discourse-mermaid-theme-component
Vulnerable Versions:
= 1.0.0

Timeline

Official Publish: January 4th, 2023
Last Modified: March 10th, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Weaknesses (CWE)