cve/2022/CVE-2022-36036.md

18 lines
915 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-36036](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36036)
![](https://img.shields.io/static/v1?label=Product&message=mdx-mermaid&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%3A%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon