CVE-2022-46180: Arbitrary HTML injection in discourse-mermaid-theme-component

Published Jan 4, 2023
·
Updated

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 Software

1 affected component
Discourse Mermaid>=1.0.0<1.1.0

Event History

Jan 4, 2023
CVE Published
via MITRE·04:44 PM
Data Sourced
via MITRE·04:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-46180?

CVE-2022-46180 is classified as a high severity vulnerability due to the potential for arbitrary HTML injection.

2

How do I fix CVE-2022-46180?

To fix CVE-2022-46180, upgrade the Discourse Mermaid component to version 1.1.0 or later.

3

Who is affected by CVE-2022-46180?

Users of Discourse using the discourse-mermaid-theme-component version between 1.0.0 and 1.1.0 are affected by CVE-2022-46180.

4

What are the potential impacts of CVE-2022-46180?

The potential impacts of CVE-2022-46180 include the ability for users to inject malicious HTML, possibly leading to cross-site scripting attacks.

5

What versions are vulnerable to CVE-2022-46180?

Versions of the Discourse Mermaid component from 1.0.0 to 1.1.0 are vulnerable to CVE-2022-46180.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203