{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-21866","published":"2026-03-03T22:16:27.973000Z","last_modified":"2026-06-17T10:19:03.427000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*","part":"a","vendor":"dify","product":"dify","version_end_excluding":"1.11.2"}],"cpes_truncated":false,"vendors":["dify"],"products":["dify/dify"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2026-21866/","html_en":"/en/cve/CVE-2026-21866/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-21866","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-21866"},"untrusted":{"vendor_name":"Dify","product_name":"Dify","desc_en":"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":[{"untrusted_vendor":"langgenius","untrusted_product":"dify","versions":[]}],"references":[{"url":"https://github.com/langgenius/dify/commit/ae17537470bba417a8971fff705dd82ecb043564","tags":["Patch"]},{"url":"https://github.com/langgenius/dify/pull/29811","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/langgenius/dify/security/advisories/GHSA-qpv6-75c2-75h4","tags":["Exploit","Vendor Advisory"]}]}}