CVE-2021-43861

Source
https://cve.org/CVERecord?id=CVE-2021-43861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43861
Aliases
Downstream
Related
Published
2021-12-30T14:15:07.547Z
Modified
2026-04-10T04:40:31.451065Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mermaid-js/mermaid

Affected ranges

Type
GIT
Repo
https://github.com/mermaid-js/mermaid
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.13.8"
        }
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.2.0
0.2.1
0.2.13
0.2.14
0.2.15
0.2.16
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
6.*
6.0.0
7.*
7.0.0
7.0.2
7.0.3
7.0.5
8.*
8.1.0
8.11.0-rc2
8.11.3
8.11.4
8.12.1
8.13.5
8.13.6
8.13.7
8.2.0
8.2.1
8.2.2
8.2.3
8.2.4
8.2.5
8.2.6
8.3.0
8.4.4
8.4.6
8.4.8
8.5.1
8.5.2
8.6.0
8.6.2
8.7.0
8.8.0
8.8.3
8.9.1
8.9.3
Other
untagged-31c93788afe260d914bb
untagged-566ebfbf21141b604025
untagged-7651dabb407ecd5631ce
untagged-f43366252632a1a42020

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43861.json"