PT-2026-36885 · Dify · Dify
Kast3T
·
Published
2026-05-04
·
Updated
2026-05-11
·
CVE-2026-42138
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Dify versions prior to 1.13.1
Description
An issue exists in this open-source LLM app development platform where users can upload SVG files containing Cross-Site Scripting (XSS), which is a technique that allows attackers to execute malicious scripts in the victim's browser. This can be achieved through the unauthenticated endpoint "POST /api/files/upload" or the authenticated endpoint "POST /v1/files/upload".
Recommendations
Update to version 1.13.1.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dify