Skip to main content
← All vulnerabilities
CVE-2026-21866

Dify - Stored XSS in chat

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langgenius dify

    fixed in 1.11.2

References 3

GitHub · langgenius/dify