Skip to content
HighVulnerability

GHSA-w7xj-8fx7-wfch: Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE

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
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI's custom prompt insertion feature assigns user-controlled prompt HTML to tempDiv.innerHTML without meaningful sanitisation when 'Insert Prompt as Rich Text' is enabled, in RichTextInput.svelte. A user who can create prompts can plant a payload that runs in another user's browser when that user invokes the matching / command. The advisory reports the XSS can be chained to force an admin to create a Python function via /api/v1/functions/create, leading to server-side code execution.

Mitigation

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