VULNERABILITY INTELLIGENCE

CVE-2022-36036

CVSS score3.6 LOW
EPSS probability0.40%
CISA KEVNot currently listed
Published2022-08-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

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.

Weakness classification

  • security-advisories@github.com: CWE-94

Primary references