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-2021-43861

20
FAUCET Score

CVE-2021-43861 is a cross-site scripting (XSS) vulnerability affecting Mermaid, a Javascript-based diagramming and charting tool, prior to version 8.13.8. Malicious diagrams can execute JavaScript code on a diagram reader's machine. This vulnerability has a CVSS score of 5.4 (Medium), indicating a network-based attack requiring low privileges and user interaction, with potential for limited confidentiality and integrity impact. There is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE. Users are advised to upgrade to Mermaid version 8.13.8 to mitigate this risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 8.13.8CPE matchmatch criteria
cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

7.2HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.2
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.91%
Probability of exploitation in next 30 days
EPSS Percentile
56.4%
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.0091 is in the 91st percentile among its peer group of 15,239 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: mermaidFixed in: 8.13.8

Vendor Advisories (1)

npmGHSA-p3rp-vmj9-gv6vhigh

Incorrect sanitisation function leads to `XSS` in mermaid

Jan 6, 2022

References

github.com / mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83
PatchThird Party Advisory
github.com / mermaid-js/mermaid/releases/tag/8.13.8
Release NotesThird Party Advisory
github.com / mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v
Third Party Advisory