Ad

CVE-2026-21866

MEDIUM CVSS 4.0: 5.1 EPSS 0.03%
Updated Mar 04, 2026
Dify
Parameter Value
CVSS 5.1 (MEDIUM)
Fixed In 1.11.2
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Dify
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Related Vulnerabilities