Vulnerability

CVE-2026-21866

mediumCVSS 4.0 5.1Published 3 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Dify dify

Weakness type

References

  • github.com /langgenius/dify/commit/ae17537470bba417a8971fff705dd82ecb0…
  • github.com /langgenius/dify/pull/29811
  • github.com /langgenius/dify/security/advisories/GHSA-qpv6-75c2-75h4

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning