What’s Vulnerable › Vulnerabilities

CVE-2025-71331: Flowise - Cross-Site Scripting in Chat Messages and Agent Workflows

Description

Flowise before 3.0.8 contains a cross-site scripting (XSS) vulnerability caused by insufficient input filtering in chat messages and custom agent functions. An attacker can inject malicious JavaScript by sending an iframe payload (e.g., <iframe src="javascript:alert(document.cookie)">) in a chat box, or by having a custom agent function return an XSS payload from an external website. The injected script executes in the victim's browser, enabling theft of cookies and session data.

Affected products

How to fix

Upgrade to a fixed version: FlowiseAI Flowise 3.0.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71331 or the next vulnerability affects your stack