CVE-2026-21866Published Mar 3, 2026 · Mar 3Updated Oct 28
Dify - Stored XSS in chat
langgenius dify
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| langgenius dify |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M