Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-21866
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-03 Mar, 2026 | 21:42
Updated At-03 Mar, 2026 | 21:43
Rejected At-
▼CVE Numbering Authority (CNA)
Dify - Stored XSS in chat

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
Vendor
langgenius
Product
dify
Versions
Affected
  • < 1.11.2
Problem Types
TypeCWE IDDescription
CWECWE-79CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Type: CWE
CWE ID: CWE-79
Description: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Metrics
VersionBase scoreBase severityVector
4.05.1MEDIUM
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
Version: 4.0
Base score: 5.1
Base 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
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/langgenius/dify/security/advisories/GHSA-qpv6-75c2-75h4
x_refsource_CONFIRM
https://github.com/langgenius/dify/pull/29811
x_refsource_MISC
https://github.com/langgenius/dify/commit/ae17537470bba417a8971fff705dd82ecb043564
x_refsource_MISC
Hyperlink: https://github.com/langgenius/dify/security/advisories/GHSA-qpv6-75c2-75h4
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/langgenius/dify/pull/29811
Resource:
x_refsource_MISC
Hyperlink: https://github.com/langgenius/dify/commit/ae17537470bba417a8971fff705dd82ecb043564
Resource:
x_refsource_MISC
Details not found