← Back to CVEs
CVE-2026-21866
MEDIUM5.4
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.
CVE Details
CVSS v3.1 Score5.4
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published3/3/2026
Last Modified3/5/2026
Sourcenvd
Honeypot Sightings0
Affected Products
dify:dify
Weaknesses (CWE)
CWE-79
References
https://github.com/langgenius/dify/commit/ae17537470bba417a8971fff705dd82ecb043564(security-advisories@github.com)
https://github.com/langgenius/dify/pull/29811(security-advisories@github.com)
https://github.com/langgenius/dify/security/advisories/GHSA-qpv6-75c2-75h4(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.