MediumVulnerabilityLLM-specific
CVE-2026-42138: Dify stored XSS via SVG file upload to /api/files/upload
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-42138
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
CVE-2026-42138 affects Dify, an open-source LLM app development platform, in versions prior to 1.13.1. The unauthenticated POST /api/files/upload endpoint accepts an SVG file containing XSS, and the authenticated POST /v1/files/upload endpoint is also vulnerable.
Mitigation
Fixed in version 1.13.1.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online