{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-36036","published":"2022-08-29T18:15:09.803000Z","last_modified":"2026-06-17T04:52:47.327000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mdx-mermaid_project","product":"mdx-mermaid","version_start_including":"0.0.1","version_end_excluding":"1.3.0"},{"criteria":"cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:2.0.0:rc1:*:*:*:node.js:*:*","part":"a","vendor":"mdx-mermaid_project","product":"mdx-mermaid","version":"2.0.0"}],"cpes_truncated":false,"vendors":["mdx-mermaid_project"],"products":["mdx-mermaid_project/mdx-mermaid"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00521,"percentile":0.37567,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rvgm-35jw-q628","ecosystem":"npm","name":"mdx-mermaid","purl":"pkg:npm/mdx-mermaid","ranges":[{"introduced":"0","fixed":"1.3.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-rvgm-35jw-q628","ecosystem":"npm","name":"mdx-mermaid","purl":"pkg:npm/mdx-mermaid","ranges":[{"introduced":"2.0.0-rc1","fixed":"2.0.0-rc2"}],"versions":["2.0.0-rc1"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-36036/","html_en":"/en/cve/CVE-2022-36036/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36036","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36036"},"untrusted":{"vendor_name":"Mdx-mermaid Project","product_name":"Mdx-mermaid","desc_en":"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":[{"untrusted_vendor":"sjwall","untrusted_product":"mdx-mermaid","versions":[]}],"references":[{"url":"https://github.com/sjwall/mdx-mermaid/commit/f2b99386660fd13316823529c3f1314ebbcdfd2a","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sjwall/mdx-mermaid/security/advisories/GHSA-rvgm-35jw-q628","tags":["Exploit","Third Party Advisory"]}]}}