# CVE-2024-11824: Stored XSS in langgenius/dify

- Severity: Medium 5.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:08.878Z
- Modified: 2026-06-17T06:58:31.457Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- langgenius langgenius/dify: from unspecified before 0.12.1
- langgenius dify: before 0.12.1

## Every score

- @huntr_ai: CVSS:3.0 5.8 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://huntr.com/bounties/72387deb-6e64-48ed-a8c3-b50d22a0970f> (exploit, third-party-advisory)
- <https://github.com/langgenius/dify/commit/55edd5047e6fcbc9bb56a4ea055fcce090f3eb5d> (patch)

## Sources

- CVE List: [CVE-2024-11824](https://www.cve.org/CVERecord?id=CVE-2024-11824), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-11824](https://nvd.nist.gov/vuln/detail/CVE-2024-11824), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-11824 · Whole record: https://cve.day/CVE-2024-11824.json · Rebuilt by cve.day 2026-11-25T22:58:52.352Z
