CVE-2022-46180
Last modified
CVE-2022-46180 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Mermaid | >= 1.0.0, < 1.1.0 |
References
- https://github.com/discourse/discourse-mermaid-theme-component/pull/14Patch, Third Party Advisory
- https://github.com/discourse/discourse-mermaid-theme-component/pull/14Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-46180?
How severe is CVE-2022-46180?
How do I fix CVE-2022-46180?
Are you affected by CVE-2022-46180?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
