CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Discourse

CVE-2022-46180
Discourse Mermaid vulnerability

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 products

Mermaid. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Discourse Mermaid runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Discourse products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.