CVE-2026-42138
Last modified
CVE-2026-42138 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. Dify is an open-source LLM app development platform. Prior to version 1.13.1, using the method POST /api/files/upload, any unauthenticated user can upload an SVG file with XSS. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
Dify is an open-source LLM app development platform. Prior to version 1.13.1, using the method POST /api/files/upload, any unauthenticated user can upload an SVG file with XSS. The method POST /v1/files/upload, which requires authentication through the application API, is also vulnerable. This issue has been patched in version 1.13.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langgenius | Dify | < 1.13.1 |
References
- https://github.com/langgenius/dify/security/advisories/GHSA-cg94-8v83-7hjjExploit, Vendor Advisory
- https://github.com/langgenius/dify/security/advisories/GHSA-cg94-8v83-7hjjExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42138?
How severe is CVE-2026-42138?
How do I fix CVE-2026-42138?
Are you affected by CVE-2026-42138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
