{"id":"CVE-2026-85022","state":"PUBLISHED","title":"langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting","description":"A vulnerability was identified in langgenius dify 1.13.0. Affected by this vulnerability is the function router.replace of the file web/app/(shareLayout)/webapp-signin/components/mail-and-password-auth.tsx of the component WebApp Sign-In. Such manipulation of the argument redirect_url leads to cross site scripting. The attack may be performed from remote. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.","publishedAt":"2026-09-03T00:45:14.971Z","updatedAt":"2026-09-03T13:25:08.503Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","source":"VulDB"},"assigner":"VulDB","products":["langgenius dify"],"affected":[{"vendor":"langgenius","product":"dify","versions":[{"version":"1.13.0","status":"affected"}],"cpes":["cpe:2.3:a:langgenius:dify:*:*:*:*:*:*:*:*"],"modules":["WebApp Sign-In"]}],"references":["https://vuldb.com/vuln/398289","https://vuldb.com/vuln/398289/cti","https://vuldb.com/cve/CVE-2026-85022","https://vuldb.com/submit/880602","https://huntr.com/bounties/184a858e-05b2-4a06-bb32-2d77cbc363fe","https://github.com/langgenius/dify/security/advisories/GHSA-7vhm-2r2w-hgg4","https://gist.github.com/TrebledJ/0e8466e5c39a6fb7dca8a3acdfbe2ddc#file-cvd_dify_vuln2_20260705-md","https://github.com/langgenius/dify/"],"weaknesses":["CWE-79","CWE-94"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85022.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85022","state":"PUBLISHED","datePublished":"2026-09-03T00:45:14.971Z","dateUpdated":"2026-09-03T13:25:08.503Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-09-02T19:47:18.388Z"},"containers":{"cna":{"title":"langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting","descriptions":[{"lang":"en","value":"A vulnerability was identified in langgenius dify 1.13.0. Affected by this vulnerability is the function router.replace of the file web/app/(shareLayout)/webapp-signin/components/mail-and-password-auth.tsx of the component WebApp Sign-In. Such manipulation of the argument redirect_url leads to cross site scripting. The attack may be performed from remote. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way."}],"affected":[{"vendor":"langgenius","product":"dify","versions":[{"version":"1.13.0","status":"affected"}],"cpes":["cpe:2.3:a:langgenius:dify:*:*:*:*:*:*:*:*"],"modules":["WebApp Sign-In"]}],"references":[{"url":"https://vuldb.com/vuln/398289","name":"VDB-398289 | langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/398289/cti","name":"VDB-398289 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-85022","name":"CVE-2026-85022 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/880602","name":"Submit #880602 | langgenius dify 1.13.0 DOM-Based XSS, Open Redirect","tags":["third-party-advisory"]},{"url":"https://huntr.com/bounties/184a858e-05b2-4a06-bb32-2d77cbc363fe","tags":["related"]},{"url":"https://github.com/langgenius/dify/security/advisories/GHSA-7vhm-2r2w-hgg4","tags":["broken-link"]},{"url":"https://gist.github.com/TrebledJ/0e8466e5c39a6fb7dca8a3acdfbe2ddc#file-cvd_dify_vuln2_20260705-md","tags":["exploit"]},{"url":"https://github.com/langgenius/dify/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.5,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"Cross Site Scripting"}]},{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"Code Injection"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-09-03T00:45:14.971Z"},"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:29.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"}],"x_generator":["VulDB PVTS v202609"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-03T13:23:33.973887Z","id":"CVE-2026-85022","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-03T13:25:08.503Z"}}]}}}