CVE-2026-21866: Stored XSS vulnerability in Dify chat rendering of Mermaid diagrams
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Dify prior to version 1.11.2 was vulnerable to stored cross-site scripting due to loose security configuration when rendering Mermaid diagrams in chats. The vulnerability was fixed in version 1.11.2.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Dify
- incident date
- 3 Mar 2026
- first reported
- 3 Mar 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2026-21866 · dify · xss
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2026-03-03CVE-2026-21866: Dify is an open-source LLM app development platform.NVD · nvd.nist.gov/vuln/detail/CVE-2026-21866
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-02-27CVE-2026-28288: Email enumeration vulnerability in Dify LLM development platform2 Disclosedon AIInfra vuln1 src
- 2026-02-11CVE-2026-26023: Cross-site scripting vulnerability in Dify LLM platform2 Disclosedon AIInfra vuln1 src
- 2026-07-29CVE-2026-18266: Open redirect vulnerability in Dify AI Workflow OAuth flow2 Disclosedon AIInfra vuln1 src
- 2026-07-10CVE-2026-61461: Dify SQL Injection Vulnerability in MyScale Vector Store2 Disclosedon AIInfra vuln1 src
- 2026-05-18Dify Authorization Bypass Leads to Tenant Trace Configuration Exposure2 Disclosedon AIInfra vulnData leak1 src
- 2026-05-18CVE-2026-41948: Dify path traversal in Plugin Daemon REST API2 Disclosedon AIInfra vuln1 src