VULNERABILITY INTELLIGENCE
CVE-2026-21866
CVSS score5.4 MEDIUM
EPSS probability0.25%
CISA KEVNot currently listed
Published2026-03-03
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
Weakness classification
- security-advisories@github.com: CWE-79
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Issue Tracking, Patch
- security-advisories@github.com — Exploit, Vendor Advisory