CVE-2022-36036
Summary
| CVE | CVE-2022-36036 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-29 18:15:00 UTC |
| Updated | 2022-09-01 20:50:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-94
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mdx-mermaid Project | Mdx-mermaid | All | All | All | All |
| Application | Mdx-mermaid Project | Mdx-mermaid | 2.0.0 | rc1 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Improper Control of Generation of Code ('Code Injection') in mdx-mermaid · Advisory · sjwall/mdx-mermaid · GitHub | CONFIRM | github.com | |
| Merge pull request from GHSA-rvgm-35jw-q628 · sjwall/mdx-mermaid@f2b9938 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.