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.
Problem types
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Product status
Any version before 3.0.8
3.0.8 (semver)
Credits
quitbug
References
github.com/...lowise/security/advisories/GHSA-4fr9-3x69-36wv
github.com/...lowise/security/advisories/GHSA-4fr9-3x69-36wv (GHSA Advisory GHSA-4fr9-3x69-36wv)
www.vulncheck.com/...ng-in-chat-messages-and-agent-workflows (VulnCheck Advisory: Flowise - Cross-Site Scripting in Chat Messages and Agent Workflows)