{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-85021",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-09-02T19:47:11.496Z",
        "datePublished": "2026-09-03T00:30:10.562Z",
        "dateUpdated": "2026-09-03T00:30:10.562Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-09-03T00:30:10.562Z"
            },
            "title": "langgenius dify Splash Layout splash.tsx router.replace cross site scripting",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "Cross Site Scripting"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-94",
                            "lang": "en",
                            "description": "Code Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "langgenius",
                    "product": "dify",
                    "versions": [
                        {
                            "version": "1.13.0",
                            "status": "affected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:langgenius:dify:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "Splash Layout"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A vulnerability was determined in langgenius dify 1.13.0. Affected is the function router.replace of the file web/app/(shareLayout)/components/splash.tsx of the component Splash Layout. This manipulation of the argument redirect_url causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 5.3,
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 4.3,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 4.3,
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 5,
                        "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-09-02T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-09-02T02:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-09-02T21:52:26.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "trebledj (VulDB User)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "VulDB CNA Team",
                    "type": "coordinator"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/398288",
                    "name": "VDB-398288 | langgenius dify Splash Layout splash.tsx router.replace cross site scripting",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/398288/cti",
                    "name": "VDB-398288 | CTI Indicators (IOB, IOC, TTP, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-85021",
                    "name": "CVE-2026-85021 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/880601",
                    "name": "Submit #880601 | langgenius dify 1.13.0 DOM-Based XSS, Open Redirect",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://huntr.com/bounties/8ff349b3-db5f-4b56-9ccf-a19abd96e30f",
                    "tags": [
                        "related"
                    ]
                },
                {
                    "url": "https://github.com/langgenius/dify/security/advisories/GHSA-7qgm-pqv4-668x",
                    "tags": [
                        "broken-link"
                    ]
                },
                {
                    "url": "https://gist.github.com/TrebledJ/0e8466e5c39a6fb7dca8a3acdfbe2ddc#file-cvd_dify_vuln1_20260705-md",
                    "tags": [
                        "exploit"
                    ]
                },
                {
                    "url": "https://github.com/langgenius/dify/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "x_generator": [
                "VulDB PVTS v202609"
            ]
        }
    }
}