VYPR
Low severity3.6NVD Advisory· Published Aug 29, 2022· Updated Jun 17, 2026

CVE-2022-36036

CVE-2022-36036

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mdx-mermaidnpm
< 1.3.01.3.0
mdx-mermaidnpm
>= 2.0.0-rc1, < 2.0.0-rc22.0.0-rc2

Affected products

4
  • cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:*:*:*:*:*:node.js:*:*+ 1 more
    • cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:*:*:*:*:*:node.js:*:*range: >=0.0.1,<1.3.0
    • cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:2.0.0:rc1:*:*:*:node.js:*:*
  • ghsa-coords
    Range: < 1.3.0
  • Range: < 1.3.0

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.