Skip to content

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

MediumCVSS 5.4 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
discourse mermaid >= 1.0.0, < 1.1.0 1.1.0 Fixed
discourse-mermaid-theme-component = = 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
discourse-mermaid-theme-component = = 1.0.0 No fix listed
discourse mermaid >= 1.0.0, < 1.1.0 1.1.0

References