CVE-2022-46180CWE-74

Arbitrary HTML injection in discourse-mermaid-theme-component

Medium · published January 4, 2023

CVSS v3.1
5.0
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00492 · 41.3th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-01-04T16:44Z
EPSS history
Timeline
  • 04 JAN 16:44Z
    Arbitrary HTML injection in discourse-mermaid-theme-component
    cvelistv5