CVE-2026-21866
Dify is an open-source LLM app development platform. Prior to 1.11.2, Dify is vulnerable to a stored XSS issue when rendering Mermaid diagrams within chats. This occurs because Dify’s default Mermaid configuration uses securityLevel: loose, which allows potentially unsafe content to execute. This vulnerability is fixed in 1.11.2.
Published:Mar 3, 2026
Last Modified:Apr 18, 2026
EPS:Mar 3, 2026
EPSS Score:0.00032
CVSS Score:5.4
Affected Products
Vendor
Product
Action
Vendor
Dify
Product
Dify
Dify
Dify
Vendor
Langgenius
Product
Dify
Langgenius
Dify
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
