Lucene search
K

NPM: Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection

🗓️ 11 May 2026 19:36:46Reported by PatchstackType 
patchstack
 patchstack
🔗 patchstack.com👁 3 Views

Mermaid state diagrams allow HTML injection due to classDef sanitization in versions up to ten point nine five.

Related
Detection
Refs

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

11 May 2026 19:36Current
5.8Medium risk
Vulners AI Score5.8
CVSS 45.3
EPSS0.00059
SSVC
3