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

Medium 5.1 Published Updated

Remote attackers can execute arbitrary scripts via the redirect_url parameter in the Dify WebApp Sign-In component, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-85022?

CVE-2026-85022 is a medium-severity cross-site scripting vulnerability in langgenius dify, published on 3 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-85022?

How do I fix CVE-2026-85022?

No fix has been published for CVE-2026-85022 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-85022 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85022 exists.

Sources

Also known as GHSA-7vhm-2r2w-hgg4, GHSA-xr42-c3pw-f2v5.

Is CVE-2026-85022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free