---
id: CVE-2024-7990
aliases:
  - GHSA-gj27-76gq-5v3p
  - PYSEC-2026-1734
title: Open WebUI stored cross-site scripting (XSS) vulnerability
summary: Open WebUI stored cross-site scripting (XSS) vulnerability
severity: high
cvss: 8.4
cvssVector: '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
ecosystem: pip
affected:
  - open-webui <= 0.3.8
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-gj27-76gq-5v3p'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7990'
  - url: 'https://github.com/open-webui/open-webui'
  - url: 'https://huntr.com/bounties/2256e336-0f67-449e-a82d-7fc57081a21c'
tags:
  - osv
  - pip
epss: 0.00897
epssPercentile: 0.56401
ingestedAt: '2026-07-08T18:25:49.725Z'
---

## Overview

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 packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
