cvedb.io
CVE-2026-21866
MEDIUM · CVSS 5.4
EPSS exploitation probability: 0%
Published 2026-03-03T22:16:27.973 · Last modified 2026-06-17T10:19:03.427

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.

Affected products

dify — dify

Does this affect you?

Add your gear to cvedb and we'll alert you only when dify ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.