Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-21866 EUVD-2026-9325

Dify - Stored XSS in chat

Published Mar 3, 2026 · Updated Mar 4, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
langgenius dify < 1.11.2 —

References