CVE-2026-42138

6.1 MEDIUM
Published: May 04, 2026 Modified: May 11, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/langgenius/dify/releases/tag/1.13.1
Source: security-advisories@github.com
Release Notes
https://github.com/langgenius/dify/security/advisories/GHSA-cg94-8v83-7hjj
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/langgenius/dify/security/advisories/GHSA-cg94-8v83-7hjj
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.1 / 10.0
EPSS (Exploit Probability)
0.2%
14th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

langgenius