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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-03 22:16

Updated : 2026-03-05 21:24


NVD link : CVE-2026-21866

Mitre link : CVE-2026-21866

CVE.ORG link : CVE-2026-21866


JSON object : View

Products Affected

dify

  • dify
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')