XSS in Langgenius Dify
CVE-2024-11850
A stored cross-site scripting (XSS) vulnerability exists in the latest version of langgenius/dify. The vulnerability is due to improper validation and sanitization of user input in SVG markdown support within the chatbot feature. An attacker can exploit this vulnerability by injecting malicious SVG content, which can execute arbitrary JavaScript code when viewed by an admin, potentially leading to credential theft.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.004 (33.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Langgenius Dify — versions 0.9.2
- Langgenius Langgenius/dify — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-11850?
- CVE-2024-11850 is a medium-severity vulnerability in Langgenius Dify, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-20.
- How severe is CVE-2024-11850?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2024-11850 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.