{
 "id": "AIR-2026-0979",
 "slug": "cve-2026-21866-stored-xss-vulnerability-in-dify-chat-renderi",
 "title": "CVE-2026-21866: Stored XSS vulnerability in Dify chat rendering of Mermaid diagrams",
 "summary": "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.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "Dify"
 ],
 "incident_date": "2026-03-03",
 "incident_date_precision": "day",
 "first_reported": "2026-03-03",
 "sources": [
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21866",
   "publisher": "NVD",
   "title": "CVE-2026-21866: Dify is an open-source LLM app development platform.",
   "published_at": "2026-03-03"
  }
 ],
 "source_count": 1,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_nvd",
 "tags": [
  "CVE-2026-21866",
  "dify",
  "xss"
 ],
 "created_at": "2026-10-18T10:04:21.885Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
