CVE-2022-36036
Last modified
CVE-2022-36036 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Mdx-Mermaid Project | Mdx-Mermaid | >= 0.0.1, < 1.3.0 | — |
| Mdx-Mermaid Project | Mdx-Mermaid | 2.0.0 | Rc1 |
References
- https://github.com/sjwall/mdx-mermaid/commit/f2b99386660fd13316823529c3f1314ebbcdfd2aPatch, Third Party Advisory
- https://github.com/sjwall/mdx-mermaid/security/advisories/GHSA-rvgm-35jw-q628Exploit, Third Party Advisory
- https://github.com/sjwall/mdx-mermaid/commit/f2b99386660fd13316823529c3f1314ebbcdfd2aPatch, Third Party Advisory
- https://github.com/sjwall/mdx-mermaid/security/advisories/GHSA-rvgm-35jw-q628Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-36036?
How severe is CVE-2022-36036?
How do I fix CVE-2022-36036?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-36030Project-nexus is a general-purpose blog website framework. A…9.8
- CVE-2022-36031Directus is a free and open-source data platform for headles…6.5
- CVE-2022-36032ReactPHP HTTP is a streaming HTTP client and server implemen…5.3
- CVE-2022-36033jsoup is a Java HTML parser, built for HTML editing, cleanin…6.1
- CVE-2022-36034nitrado.js is a type safe wrapper for the Nitrado API. Possi…7.5
- CVE-2022-36035Flux is a tool for keeping Kubernetes clusters in sync with …7.8
- CVE-2022-36037kirby is a content management system (CMS) that adapts to ma…5.4
- CVE-2022-36038CircuitVerse is an open-source platform which allows users t…7.8
- CVE-2022-36039Rizin is a UNIX-like reverse engineering framework and comma…7.8
- CVE-2022-3604The Contact Form Entries WordPress plugin before 1.3.0 does …7.8
- CVE-2022-36040Rizin is a UNIX-like reverse engineering framework and comma…7.8
- CVE-2022-36041Rizin is a UNIX-like reverse engineering framework and comma…7.8
Are you affected by CVE-2022-36036?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
