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?
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
