CVE-2024-7990

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.
References
Link Resource
https://huntr.com/bounties/2256e336-0f67-449e-a82d-7fc57081a21c Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*

History

21 Jul 2025, 20:07

Type Values Removed Values Added
CPE cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*
First Time Openwebui open Webui
Openwebui
Summary
  • (es) Existe una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en open-webui/open-webui versión 0.3.8. La vulnerabilidad está presente en el endpoint `/api/v1/models/add`, donde el campo de descripción del modelo se depura incorrectamente antes de mostrarse en el chat. Esto permite a un atacante inyectar scripts maliciosos que cualquier usuario, incluidos los administradores, puede ejecutar, lo que podría provocar la ejecución de código arbitrario.
References () https://huntr.com/bounties/2256e336-0f67-449e-a82d-7fc57081a21c - () https://huntr.com/bounties/2256e336-0f67-449e-a82d-7fc57081a21c - Exploit, Third Party Advisory

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-21 20:07


NVD link : CVE-2024-7990

Mitre link : CVE-2024-7990

CVE.ORG link : CVE-2024-7990


JSON object : View

Products Affected

openwebui

  • open_webui
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')