Skip to content
HighVulnerability

GHSA-9f4f-jv96-8766: Open WebUI vulnerable to stored XSS via unescaped markdown token in MarkdownTokens.svelte leading to full account takeover and RCE via functions

Published
Record updated
View JSON
Affected
  • open-webui < 0.6.6
Fixed in
0.6.6
  • released May 5, 2025, 428 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%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 MarkdownTokens.svelte renders any chat message containing an iframe whose src begins with the WEBUI_BASE_URL files path using {@html}, which executes injected JavaScript. The script can read the access token from localStorage and take over the account, and shared or community-uploaded transcripts can spread the payload to others. If an admin is compromised, the attacker can create a function to run arbitrary Python on the backend server.

Mitigation

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