All vulnerabilities

Servers and applications

CVE-2026-45314

XSS via SVG in /api/v1/channels/webhooks/{webhook_id}/profile/image

Severity
High 7.4
Published
9 May 2026
Last changed
11 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.9.3
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-87
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-3856-3vxq-m6fc
Sources
NVD, Project advisories (GitHub)

Description

As part of our research on improving our AI pentest, we have uncovered the following issue in Open WebUI. We've manually verified and tided up the report, but you can also find the original agent finding at the bottom of this report.

The channel webhook create/update flow accepts arbitrary profile_image_url values, including data:image/svg+xml;base64,... payloads. The profile image endpoint then decodes and serves this SVG as image/svg+xml without sanitization, allowing attacker-controlled script handlers (for example onload) to execute when the profile-image URL is opened in the browser.

The server accepts data:image/svg+xml;base64,... values for profile_image_url when creating or updating a webhook. Later, GET /api/v1/channels/webhooks/{webhook_id}/profile/image detects data:image, base64-decodes it, derives the media type from the header (e.g., image/svg+xml), and returns a StreamingResponse with Content-Disposition: inline and media_type set to image/svg+xml.

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • Every version before 0.9.3
Open WebUIServers and applications · github:open-webui/open-webui
  • Every version before 0.9.3

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-45314
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-45314
  • GitHub Advisory Database https://github.com/advisories/GHSA-3856-3vxq-m6fc
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-3856-3vxq-m6fc