CVE-2024-7990: Open WebUI Stored XSS Vulnerability in open-webui Package

open-webui Updated 07 Jul 2026

Summary

07/07/2026
No i
High
8.4

CVE-2024-7990: Open WebUI stored cross-site scripting (XSS) vulnerability. Affects open-webui versions < 0.3.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Open WebUI is an open-source web application framework designed for building user interfaces. It provides developers with tools to create interactive web applications with ease. The framework is widely used for its simplicity and flexibility. However, version 0.3.8 of the open-webui package has been identified to contain a stored cross-site scripting (XSS) vulnerability, which poses significant security risks to users and administrators.

Vulnerability Detail

A stored cross-site scripting (XSS) vulnerability exists in the open-webui version 0.3.8. This vulnerability is located in the /api/v1/models/add endpoint, where the model description field is not properly sanitized before being rendered in chat. This oversight allows attackers to inject malicious scripts that can be executed by any user, including administrators. The potential ramifications include unauthorized access, data theft, and arbitrary code execution, making it critical to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization on the model description field before rendering it in chat. This can help mitigate the risk of XSS attacks until the package is updated. For example, you can use libraries like DOMPurify to sanitize user inputs.

Conclusion

The stored XSS vulnerability in the open-webui package poses significant risks to users and administrators. It is essential to update to a patched version to mitigate these risks. Implementing input validation and sanitization can serve as a temporary workaround until the update is applied.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

CVE-2024-7990 is a stored cross-site scripting (XSS) vulnerability found in the open-webui package version 0.3.8.

This vulnerability allows attackers to inject malicious scripts that can be executed by any user, potentially leading to unauthorized access and data theft.

If you are using version 0.3.8, it is crucial to update to a patched version immediately to protect against this vulnerability.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.

The CVSS score of this vulnerability is 8.4, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback