CVE-2026-6619 Details
Description
A vulnerability has been found in langgenius dify up to 1.13.3. Impacted is the function openInNewTab of the file web/app/components/base/image-uploader/image-preview.tsx of the component ImagePreview. The manipulation of the argument filename leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A DOM-based cross-site scripting (XSS) vulnerability exists in the LangGenius Dify web application, specifically in versions through 1.13.3. The issue is located in the ImagePreview component, within the openInNewTab function of the file web/app/components/base/image-uploader/image-preview.tsx. The vulnerability arises because the function interpolates the title parameter, derived from user-controlled filenames, into an HTML string using template literals. This unsanitized input is then written to the document using document.write(), creating an opportunity for an attacker to inject malicious scripts that execute when the image is viewed in a new tab.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 20, 2026CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/chenhouser2025/a8ac169dad5cf84811cf9c0505491ea8 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/792242 | [email protected] | Technical Description |
| https://vuldb.com/vuln/358254 | [email protected] | AdvisoryBundleExploitPartial Content |
| https://vuldb.com/vuln/358254/cti | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| langgenius dify | <= 1.13.3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 20, 2026 | New CVE Received | [email protected] |
Volerion