5.8medium
Stored XSS in langgenius/dify
- Severity
- 5.8medium CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
Description
A stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log functionality. The vulnerability arises because certain HTML tags like <input> and <form> are not disallowed, allowing an attacker to inject malicious HTML into the log via prompts. When an admin views the log containing the malicious HTML, the attacker could steal the admin's credentials or sensitive information. This issue is fixed in version 0.12.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| langgenius langgenius/dify | from unspecified before 0.12.1 | CVE List |
| langgenius dify | before 0.12.1 | NVD |
All scores
| @huntr_ai | 5.8medium CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
| NVD | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
A stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log functionality. The vulnerability arises because certain HTML tags like <input> and <form> are not disallowed, allowing an attacker to inject malicious HTML into the log via prompts. When an admin views the log containing the malicious HTML, the attacker could steal the admin's credentials or sensitive information. This issue is fixed in version 0.12.1.
NVD (es)
Existe una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en la última versión de langgenius/dify, específicamente en la función de registro de chat. Esta vulnerabilidad surge porque ciertas etiquetas HTML como y no están deshabilitadas, lo que permite a un atacante inyectar HTML malicioso en el registro mediante solicitudes. Cuando un administrador consulta el registro que contiene el HTML malicioso, el atacante podría robar sus credenciales o información confidencial. Este problema se solucionó en la versión 0.12.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-11824 changed 2025-03-20 | CVE Terms of Use |
| NVD | CVE-2024-11824 changed 2026-06-17 | Public domain |