# CVE-2026-85022: langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-03T00:45:14.971Z
- Modified: 2026-09-03T17:25:25.113Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- langgenius dify: 1.13.0

## Every score

- VulDB: CVSS:4.0 5.1 Medium `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`
- VulDB: CVSS:3.1 3.5 Low `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`
- VulDB: CVSS:3.0 3.5 Low `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`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C`

## References

- <https://gist.github.com/TrebledJ/0e8466e5c39a6fb7dca8a3acdfbe2ddc#file-cvd_dify_vuln2_20260705-md> (exploit)
- <https://vuldb.com/vuln/398289> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/398289/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-85022> (third-party-advisory)
- <https://vuldb.com/submit/880602> (third-party-advisory)
- <https://huntr.com/bounties/184a858e-05b2-4a06-bb32-2d77cbc363fe> (related)
- <https://github.com/langgenius/dify/security/advisories/GHSA-7vhm-2r2w-hgg4> (broken-link)
- <https://github.com/langgenius/dify/> (product)

## Sources

- CVE List: [CVE-2026-85022](https://www.cve.org/CVERecord?id=CVE-2026-85022), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-85022](https://nvd.nist.gov/vuln/detail/CVE-2026-85022), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-85022 · Whole record: https://cve.day/CVE-2026-85022.json · Rebuilt by cve.day 2026-11-25T22:59:36.170Z
