VYPR
Medium severity5.4NVD Advisory· Published Mar 3, 2026· Updated Jun 17, 2026

CVE-2026-21866

CVE-2026-21866

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.

Affected products

3
  • Langgenius/Dify2 versions
    cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*range: <1.11.2
    • (no CPE)range: < 1.11.2
  • Dify.ai/difyllm-fuzzy
    Range: <1.11.2

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.