Skip to content

CVE-2021-35513 Cross-site Scripting in Mermaid

MediumCVSS 6.1 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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

Upgrade path

5 packages: 3 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-mermaid(Ubuntu 22.04) = 8.7.0+ds+~cs27.17.17-3; = 8.13.3+ds+~cs26.13.21-1; = 8.13.3+ds+~cs26.13.21-2; = 8.13.8+~cs10.4.16-1 +1 more No fix listed No fix yet
ubuntu/node-mermaid(Ubuntu 26.10) = 9.2.2+~2.0.0-1; = 9.2.2+~2.0.0-2; All versions No fix listed No fix yet
debian/node-mermaid(Debian 14) < 8.7.0+ds+~cs27.17.17-3; = 8.7.0+ds+~cs27.17.17-1; = 8.7.0+ds+~cs27.17.17-2; = 8.7.0+ds+~cs27.17.17-2~bpo10+1 8.7.0+ds+~cs27.17.17-3 Fixed
mermaid project mermaid < 8.11.0 8.11.0 Fixed
npm mermaid(npm) < 8.11.0 8.11.0 Fixed

Affected products

ProductAffected versionsFixed in
npm mermaid(npm) < 8.11.0 8.11.0
debian/node-mermaid(Debian:14) < 8.7.0+ds+~cs27.17.17-3 8.7.0+ds+~cs27.17.17-3
debian/node-mermaid(Debian:14) = 8.7.0+ds+~cs27.17.17-1 No fix listed
debian/node-mermaid(Debian:14) = 8.7.0+ds+~cs27.17.17-2 No fix listed
debian/node-mermaid(Debian:14) = 8.7.0+ds+~cs27.17.17-2~bpo10+1 No fix listed
ubuntu/node-mermaid(Ubuntu:22.04) All versions No fix listed
mermaid project mermaid < 8.11.0 8.11.0
ubuntu/node-mermaid(Ubuntu:26.10) All versions No fix listed
ubuntu/node-mermaid(Ubuntu:22.04) = 8.7.0+ds+~cs27.17.17-3 No fix listed
ubuntu/node-mermaid(Ubuntu:22.04) = 8.13.3+ds+~cs26.13.21-1 No fix listed
ubuntu/node-mermaid(Ubuntu:22.04) = 8.13.3+ds+~cs26.13.21-2 No fix listed
ubuntu/node-mermaid(Ubuntu:22.04) = 8.13.8+~cs10.4.16-1 No fix listed
ubuntu/node-mermaid(Ubuntu:26.10) = 9.2.2+~2.0.0-1 No fix listed
ubuntu/node-mermaid(Ubuntu:26.10) = 9.2.2+~2.0.0-2 No fix listed

References