cvedb.io
CVE-2026-42138
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2026-05-04T18:16:31.523 · Last modified 2026-06-17T10:47:26.300

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.

Affected products

langgenius — dify

Does this affect you?

Add your gear to cvedb and we'll alert you only when langgenius ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.