CVE-2025-50538 Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel

High 8.2 Published Updated

Attackers can inject malicious scripts via IFRAME elements in chat logs, potentially compromising admin sessions in Flowise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-50538?

CVE-2025-50538 is a high-severity cross-site scripting vulnerability in Flowiseai Flowise, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.

Weakness: CWE-79

Which versions are affected by CVE-2025-50538?

2 open source packages ship an affected version, including flowise. It affects 1 product.

PackageAffectedFixed in
flowise npmAll versions3.0.8
flowise npmAll versions3.0.8

Products include Flowiseai Flowise.

How do I fix CVE-2025-50538?

Upgrade flowise to 3.0.8 or later.

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-2025-50538 being exploited?

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

All Flowiseai Flowise vulnerabilities

Sources

Also known as GHSA-964p-j4gg-mhwc.

Is CVE-2025-50538 in your software?

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

Check your SBOMs for free