mdx-mermaid provides plug and play access to Mermaid in MDX. There is a potential for an arbitrary javascript injection in versions less than 1.3.0 and 2.0.0-rc1. Modify any mermaid code blocks with arbitrary code and it will execute when the component is loaded by MDXjs. This vulnerability was patched in version(s) 1.3.0 and 2.0.0-rc2. There are currently no known workarounds.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-08-29T17:20:10

Updated: 2024-08-03T09:52:00.316Z

Reserved: 2022-07-15T00:00:00

Link: CVE-2022-36036

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-08-29T18:15:09.803

Modified: 2022-09-01T20:50:39.540

Link: CVE-2022-36036

cve-icon Redhat

No data.