CVE-2024-11824

Stored XSS in langgenius/dify

Published Mar 20, 2025 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-7040 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.
History
Type Values Removed Values Added
First Time appeared Langgenius
Langgenius dify
CPEs cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*
Vendors & Products Langgenius
Langgenius dify
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Stored XSS in langgenius/dify
Weaknesses CWE-79
References
Metrics cvssV3_0

{'score': 5.8, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Mar 20, 2025, 6:57 PM
Reserved
Nov 26, 2024, 5:53 PM
Status
Analyzed
Published
Mar 20, 2025, 10:15 AM
Modified
Jun 17, 2026, 6:58 AM