Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-42138
VULNERABILITY

CVE-2026-42138

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
6.9
Severity
MEDIUM
Vector
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

Timeline

Published
May 4, 2026 18:16
Modified
Oct 26, 2026 19:10
Last observed
Oct 26, 2026 16:00

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*

References