CVE-2024-11824 Stored XSS in langgenius/dify
Attackers can inject malicious HTML into chat logs to steal admin credentials or sensitive data when logs are viewed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-11824?
CVE-2024-11824 is a medium-severity cross-site scripting vulnerability in langgenius/dify, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-11824?
It affects 1 product.
Products include Langgenius Dify.
How do I fix CVE-2024-11824?
No fix has been published for CVE-2024-11824 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-11824 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11824 exists.
Other vulnerabilities in langgenius/dify
Sources
Also known as GHSA-64c5-jj57-f29g.