First published: Wed Jan 04 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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Discourse Mermaid | >=1.0.0<1.1.0 | |
>=1.0.0<1.1.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-46180 is classified as a high severity vulnerability due to the potential for arbitrary HTML injection.
To fix CVE-2022-46180, upgrade the Discourse Mermaid component to version 1.1.0 or later.
Users of Discourse using the discourse-mermaid-theme-component version between 1.0.0 and 1.1.0 are affected by 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.
Versions of the Discourse Mermaid component from 1.0.0 to 1.1.0 are vulnerable to CVE-2022-46180.