Cross-site scripting in Dify - CVE-2025-49149

 

Cross-site scripting in Dify - CVE-2025-49149

Published: June 16, 2025 / Updated: July 28, 2026


Vulnerability identifier: #VU139834
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2025-49149
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary script code in a victim's browser.

The vulnerability exists due to cross-site scripting in the input box when rendering user-supplied input. A remote attacker can submit a specially crafted payload to execute arbitrary script code in a victim's browser.

User interaction is required for another user to browse the crafted content.


Affected software

Dify

How to mitigate CVE-2025-49149

Install security update from vendor's website.

Dify - update to 1.4.2

External References

Related Security Bulletins