Read the docs
TI-2024-10968 Aliases CVE-2024-11824GHSA-64c5-jj57-f29g

Stored XSS in langgenius/dify

Priority HIGH 66CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00479 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed langgenius/dify (langgenius): 0.12.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
langgeniuslanggenius/difybefore 0.12.10.12.1Patch availableCNA
  • langgenius/dify Vendorlanggenius Affected before 0.12.1 Fixed in 0.12.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*before 0.12.1Vulnerablelanggenius
  • cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* Versions before 0.12.1 Vulnerable ·langgenius

Remediation

  • Fix · CNA langgenius/dify (langgenius) Fixed in 0.12.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-11824
  2. 2026-10-03 Alias added: GHSA-64c5-jj57-f29g

References

  • TI-2025-35265 Default credentials in Dify thru 1.5.1. CVSS 3.1CRITICAL 9.8
  • TI-2025-03045 Unsanitized Input in langgenius/dify CVSS 3.1HIGH 7.2
  • TI-2025-01548 Admin account takeover through weak Pseudo-Random number generator used in generating… CVSS 3.1HIGH 8.8
  • TI-2026-30470 Dify Vulnerable to Stored XSS via SVG-file upload CVSS 4.0MEDIUM 6.9
  • TI-2024-11840 Authentication Bypass in langgenius/dify CVSS 3.0HIGH 8.1
  • TI-2024-11170 Improper Restriction of Excessive Authentication Attempts in langgenius/dify CVSS 3.1HIGH 8.1
See all 26 →

Sources