id: PYSEC-2026-1734 published: "2026-07-07T14:34:56.723109Z" modified: "2026-07-07T17:24:54.683773Z" aliases: - CVE-2024-7990 - GHSA-gj27-76gq-5v3p 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. affected: - package: name: open-webui ecosystem: PyPI purl: pkg:pypi/open-webui ranges: - type: ECOSYSTEM events: - introduced: "0" - last_affected: 0.3.8 versions: - 0.1.124 - 0.1.125 - 0.2.0 - 0.2.1 - 0.2.2 - 0.2.3 - 0.2.4 - 0.2.5 - 0.3.0 - 0.3.1 - 0.3.2 - 0.3.3 - 0.3.4 - 0.3.5 - 0.3.6 - 0.3.7 - 0.3.8 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2024-7990 - type: PACKAGE url: https://github.com/open-webui/open-webui - type: WEB url: https://huntr.com/bounties/2256e336-0f67-449e-a82d-7fc57081a21c - type: PACKAGE url: https://pypi.org/project/open-webui - type: ADVISORY url: https://github.com/advisories/GHSA-gj27-76gq-5v3p severity: - type: CVSS_V3 score: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H