CVE-2021-35513

MEDIUM
Published Jun 27, 20215y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Medium
Find Similar
Published Jun 27, 2021 5y ago
Last Modified Jun 17, 2026 2w ago

Description

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

CVSS Details

Base Score
6.1
Exploitability
2.8
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
mermaid_projectmermaid* <8.11.0

References 3

  • github.com https://github.com/mermaid-js/mermaid/issues/2122
    Third Party Advisory
  • github.com https://github.com/mermaid-js/mermaid/pull/2123
    PatchThird Party Advisory
  • github.com https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2
    Release NotesThird Party Advisory

Remediation

  • github.com https://github.com/mermaid-js/mermaid/pull/2123
    PatchThird Party Advisory