CVE-2021-43861 HIGH

CVE-2021-43861: Incorrect sanitisation function leads to `XSS`

Vendor Mermaid-Js
Product mermaid
Weakness CWE-79 · XSS
Published December 30, 2021
Last update August 4, 2024

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

Mermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. Prior to version 8.13.8, malicious diagrams can run javascript code at diagram readers' machines. Users should upgrade to version 8.13.8 to receive a patch. There are no known workarounds aside from upgrading.

Key dates

02Disclosure timeline

December 30, 2021 CVE published
August 4, 2024 Record updated