{"affected":[{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"flowise","product":"Flowise","source":"CNA: VulnCheck","vendor":"Flowise","versions":[{"lessThan":"3.0.8","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"3.0.8","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"flowise","product":"flowise","source":"OSV GHSA-4fr9-3x69-36wv","vendor":"","versions":[{"events":[{"introduced":"0"},{"fixed":"3.0.8"}],"lessThan":"3.0.8","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2025-71331","cwes":["CWE-80"],"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.","epss":{"date":"2026-11-08","percentile":0.25737,"score":0.00325},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-4fr9-3x69-36wv"}],"kev":null,"metrics":[{"score":5.1,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},{"score":6.1,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1794146428219,"publishedAt":1781969079877,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-4fr9-3x69-36wv"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/flowise-cross-site-scripting-in-chat-messages-and-agent-workflows"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-4fr9-3x69-36wv"},{"source":"OSV / GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/advisories/GHSA-4fr9-3x69-36wv"},{"source":"OSV / GitHub Security Advisories","tags":["osv"],"url":"https://osv.dev/vulnerability/GHSA-4fr9-3x69-36wv"}],"remediation":[{"kind":"fix","source":"OSV GHSA-4fr9-3x69-36wv","text":"flowise (npm): OSV reports a fixed version 3.0.8. Check the advisory for supported release branches.","url":"https://github.com/advisories/GHSA-4fr9-3x69-36wv"}],"revision":"e9272c10599af0c68ab736269f4a01ad20181eec17d7cc449c07ac8f62b1654d","sources":[{"modifiedAt":1794146428219,"name":"CNA: VulnCheck","retrievedAt":1794146983745,"url":"https://www.cve.org/CVERecord?id=CVE-2025-71331"},{"modifiedAt":1783496146112,"name":"OSV / GitHub Security Advisories","retrievedAt":1794146984245,"url":"https://osv.dev/vulnerability/GHSA-4fr9-3x69-36wv"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794150587528,"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-71331"}],"ssvc":{"assessedAt":1782136259326,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Flowise - Cross-Site Scripting in Chat Messages and Agent Workflows","updatedAt":1794150587528}