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.
CVE ID: CVE-2024-7990
CVSS Base Severity: HIGH
CVSS Base Score: 8.4
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Vendor: open-webui
Product: open-webui/open-webui
EPSS Score: 0.05% (probability of being exploited)
EPSS Percentile: 14.22% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)