Skip to content
HighVulnerabilityLLM-specific

GHSA-cm35-v4vp-5xvx: Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events

Published
Record updated
View JSON
Affected
  • open-webui <= 0.6.34
Fixed in
0.6.35
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
7.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI v0.6.33 and below contains a code injection flaw in its Direct Connections feature. A malicious external OpenAI-compatible model server can send an SSE `execute` event that the frontend runs through `new Function()`, executing arbitrary JavaScript in the victim's browser. This allows theft of the JWT from localStorage and, combined with the Functions API, remote code execution on the backend.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.