CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022

CVE-2022-36036
Mdx-mermaid Project Mdx-mermaid vulnerability

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.

Affected products

Mdx-mermaid. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mdx-mermaid Project Mdx-mermaid runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.