Cross-site scripting in open-webui
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.6.6, a vulnerability in the way certain html tags in chat messages are rendered allows attackers to inject JavaScript code into a chat transcript. The JavaScript code will be executed in the user's browser every time that chat transcript is opened, allowing attackers to retrieve the user's access token and gain full control over their account. Chat transcripts can be shared with other users in the same server, or with the whole open-webui community if "Enable Community Sharing" is enabled in the admin panel. If this exploit is used against an admin user, it is possible to achieve Remote Code Execution on the server where the open-webui backend is hosted. This can be done by creating a new function which contains malicious python code. This vulnerability also affects chat transcripts uploaded to `https://openwebui.com/c/<user>/<chat_id>`, allowing for wormable stored XSS in https[:]//openwebui[.]com. Version 0.6.6 contains a patch for the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| open-webui | open-webui | before 0.6.6 | 0.6.6 | Patch available | CNA |
| — | open-webui (PyPI) | before 0.6.6 | 0.6.6 | Patch available | GHSA-9f4f-jv96-8766 |
- open-webui Vendoropen-webui Affected before 0.6.6 Fixed in 0.6.6 Patch available CNA
- open-webui (PyPI) Vendor— Affected before 0.6.6 Fixed in 0.6.6 Patch available GHSA-9f4f-jv96-8766
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* | before 0.6.6 | Vulnerable | open-webui |
- cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* Versions before 0.6.6 Vulnerable ·open-webui
Remediation
- Fix · CNA open-webui (open-webui) Fixed in 0.6.6
- Fix · GHSA-9f4f-jv96-8766 open-webui (PyPI) Fixed in 0.6.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46719
- 2026-10-03 Alias added: GHSA-9f4f-jv96-8766
References
More open-webui Open Webui vulnerabilities
- TI-2024-06216 Open WebUI Arbitrary File Upload + Path Traversal CVSS 3.1HIGH 8.8
- TI-2024-07467 Improper Authentication in open-webui/open-webui CVSS 3.1HIGH 8.2
- TI-2026-42359 Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id CVSS 3.1CRITICAL 9.0
- TI-2026-40759 open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation CVSS 4.0CRITICAL 9.0
- TI-2024-07431 Cross-site Scripting (XSS) in open-webui/open-webui CVSS 3.0CRITICAL 9.0
- TI-2026-60021 Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin CVSS 3.1HIGH 8.7
Sources
- CVE-2025-46719 · CVE Program
- CVE-2025-46719 · NVD
- FIRST EPSS
- GHSA-9f4f-jv96-8766 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences