CVE-2024-11824
JSON

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 packageVersionsReported by
langgenius langgenius/difyfrom unspecified before 0.12.1CVE List
langgenius difybefore 0.12.1NVD

All scores

@huntr_ai5.8medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
NVD7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2024-11824 changed 2025-03-20CVE Terms of Use
NVDCVE-2024-11824 changed 2026-06-17Public domain