Advisory

GHSA-gj27-76gq-5v3p

Also known as: CVE-2024-7990, PYSEC-2026-1734

Summary

Open WebUI stored cross-site scripting (XSS) vulnerability

Details

A stored cross-site scripting (XSS) vulnerability exists in open-webui/open-webui version 0.3.8. The vulnerability is present in the /api/v1/models/add endpoint, where the model description field is improperly sanitized before being rendered in chat. This allows an attacker to inject malicious scripts that can be executed by any user, including administrators, potentially leading to arbitrary code execution.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

open-webui

PyPI · All systems

Affected

  • introduced 0, last affected 0.3.8 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences