CVE-2026-85022: langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-17 06:13 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by VulDB, published 2026-09-03).
Weakness: Cross Site Scripting; Code Injection
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing low privileges and a user must take an action. Impact: confidentiality none, integrity low, availability none. 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
CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Exploit Observer found 3 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 7 references on Exploit Observer
Live scores
- EPSS
- 0.004
low predicted chance of attack - VEDAS
- 0.986
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Suricata
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Langgenius dify | version 1.13.0 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-85022 Dify - Cross-Site Scripting via webapp-signin redirect_url. Add them to your Suricata rule set and reload.
Show the rules
# CVE-2026-85022 - langgenius Dify 1.13.0 XSS. The WebApp sign-in flow
# (webapp-signin/components/mail-and-password-auth.tsx, and the check-code page share the sink)
# passes the request-controlled redirect_url argument to router.replace without enforcing an
# http/https same-origin URL, so a javascript: value executes in the victim's browser after login.
# Matches the sign-in request whose redirect_url parameter carries a javascript: scheme.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-85022 Dify - Cross-Site Scripting via webapp-signin redirect_url"; flow:established,to_server; http.uri; content:"/webapp-signin"; nocase; content:"redirect_url=javascript"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2026-85022; reference:url,https://www.exploit.observer/?keyword=CVE-2026-85022&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=dify&match=exact; sid:1100605; rev:1;)
CVE-2026-85022.rules on GitHub
References
Exploit code
- https://gist.github.com/TrebledJ/0e8466e5c39a6fb7dca8a3acdfbe2ddc#file-cvd_dify_vuln2_20260705-md (exploit)
Technical analysis and advisories
- VDB-398289 | langgenius dify WebApp Sign-In mail-and-password-auth.tsx router.replace cross site scripting (vdb-entry, technical-description)
- CVE-2026-85022 | CVE Analysis and Report (third-party-advisory)
- Submit #880602 | langgenius dify 1.13.0 DOM-Based XSS, Open Redirect (third-party-advisory)
Other references
- VDB-398289 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- 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)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners