Skip to content
HighVulnerability

GHSA-gf5m-wcrh-7928: open-webui Vulnerable to Stored XSS via Model Description

Published
Record updated
View JSON
Affected
  • open-webui <= 0.8.12
Fixed in
0.9.0
  • released April 21, 2026, 17 days before disclosure

Summary

open-webui versions v0.3.5 through v0.8.12 are vulnerable to stored cross-site scripting through the model description field. A markdown link with a javascript: URI passes sanitizeResponseContent unchanged, is converted to an anchor element by marked.parse(), and is rendered via {@html} in Placeholder.svelte and ChatPlaceholder.svelte. An authenticated user with workspace.models permission can run JavaScript in the browser of any user, including admins, who views the malicious model in the chat UI.

Mitigation

Fixed in v0.9.0 (commit 5eab125), which wraps marked.parse() output in DOMPurify.sanitize.