CVE-2026-45346

Open WebUI: Stored Cross-Site Scripting in SVG Renderer

Published May 15, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.31, there is a Cross-Site Scripting vulnerability in Open WebUI SVG renderer implementation. This vulnerability is fixed in 0.6.31.

Analysis

AI-generated

Technical impact

Open WebUI contains a flaw in its SVG rendering engine that allows a malicious SVG file to be stored and later displayed to users. When an SVG containing embedded script is rendered, the script runs in the victim’s browser context. This can enable an attacker to execute arbitrary client‑side code against users who view the SVG. The weakness arises from a lack of proper input validation and output encoding, as identified by CWE‑80.

Affected Systems

All instances of the open‑webui application with a version earlier than 0.6.31. Administrators should confirm the installed version if the vulnerability may be present.

Risk and Exploitability

The CVSS score of 5.1 denotes medium severity. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an attacker to supply a malicious SVG, potentially via an upload or other input mechanism. Once the malicious SVG is rendered, the injected script executes within the context of legitimate users who view it, making the issue exploitable in shared or public deployments. Based on the available information, the risk is moderate, and timely remediation is advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.6.31 or newer to apply the fix to the SVG renderer.
  • If an upgrade cannot be performed immediately, temporarily prevent the upload or rendering of SVG files until the update is available.
  • For an additional temporary layer of protection, consider deploying a content‑security‑policy that restricts script execution on the application pages.

Generated by OpenCVE AI on May 15, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r29h-37fj-x2w6 Open WebUI Has Stored Cross-Site Scripting in SVG Renderer
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.31, there is a Cross-Site Scripting vulnerability in Open WebUI SVG renderer implementation. This vulnerability is fixed in 0.6.31.
Title Open WebUI: Stored Cross-Site Scripting in SVG Renderer
Weaknesses CWE-80
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 18, 2026, 12:48 PM
Reserved
May 11, 2026, 9:40 PM
Status
Analyzed
Published
May 15, 2026, 10:16 PM
Modified
Nov 11, 2026, 8:10 PM