{"id":"CVE-2026-42138","aliases":["CVE-2026-42138"],"related":[],"kind":"vulnerability","state":"published","title":"Dify Vulnerable to Stored XSS via SVG-file upload","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Dify es una plataforma de desarrollo de aplicaciones LLM de código abierto. Antes de la versión 1.13.1, utilizando el método POST /api/files/upload, cualquier usuario no autenticado puede cargar un archivo SVG con XSS. El método POST /v1/files/upload, que requiere autenticación a través de la API de la aplicación, también es vulnerable. Este problema ha sido parcheado en la versión 1.13.1.","source":"nvd"}],"published":"2026-05-04T17:34:36.199Z","modified":"2026-10-26T19:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.13.1","status":"affected"}],"vendor":"langgenius","product":"dify","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.13.1"}],"vendor":"langgenius","product":"dify","cpe":"cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/langgenius/dify/security/advisories/GHSA-cg94-8v83-7hjj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langgenius/dify/releases/tag/1.13.1","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-04T18:48:50.719Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42138","url":"https://www.cve.org/CVERecord?id=CVE-2026-42138","licence":"CVE Terms of Use","modified":"2026-05-04T18:48:58.586Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42138","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42138","licence":"Public domain","modified":"2026-10-26T19:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:20.543Z","epss":{"score":0.00244,"percentile":0.16672,"date":"2026-12-01T12:00:22.000Z"}}