Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-36036

24
FAUCET Score

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.

Impacted Technologies

VendorProductVersion(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 Data

CVSS version used by this source: 3.1

3.6LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
1.0
Impact Score
2.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.38%
Probability of exploitation in next 30 days
EPSS Percentile
30.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0038 is in the 70th percentile among its peer group of 17,070 CVEs.

Social Chatter

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.

Media 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.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: mdx-mermaidFixed in: 1.3.0
npmpatch availablevia ghsa
Product: mdx-mermaidFixed in: 2.0.0-rc2

Vendor Advisories (1)

npmGHSA-rvgm-35jw-q628low

Improper Control of Generation of Code ('Code Injection') in mdx-mermaid

Aug 31, 2022

References

github.com / sjwall/mdx-mermaid/commit/f2b99386660fd13316823529c3f1314ebbcdfd2a
PatchThird Party Advisory
github.com / sjwall/mdx-mermaid/security/advisories/GHSA-rvgm-35jw-q628
ExploitThird Party Advisory