CVE-2022-36036 is a high-severity arbitrary JavaScript injection vulnerability affecting mdx-mermaid versions prior to 1.3.0 and 2.0.0-rc2. An authenticated attacker with local access can inject malicious JavaScript into Mermaid code blocks, leading to high impact on confidentiality, integrity, and availability when the component is loaded. While no active exploitation, public exploit code, or significant community discussion has been observed, the vulnerability has a CVSS score of 7.8 and is categorized as CWE-94. Patches are available in versions 1.3.0 and 2.0.0-rc2, and no workarounds exist.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 0.0.1, < 1.3.0CPE matchmatch criteria | cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:*:*:*:*:*:node.js:*:* | ||
2.0.0CPE matchmatch criteria | cpe:2.3:a:mdx-mermaid_project:mdx-mermaid:2.0.0:rc1:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.