---
id: "CVE-2024-6706"
kind: "vulnerability"
aliases: ["CVE-2024-6706", "GHSA-5jp3-wp5v-5363"]
title: "Open WebUI Stored Cross-Site Scripting Vulnerability"
severity: "medium"
cvss: 6.3
epss: 0.00657
exploited: false
status: "open"
category: "ai-tooling"
products: [{"name": "open-webui", "fixed": ["0.3.14"], "affected": "< 0.3.14", "ecosystem": "pypi"}, {"name": "openwebui open webui", "fixed": [], "affected": "= 0.1.105", "ecosystem": "vendor"}]
ecosystems: ["pypi", "vendor"]
tags: ["ai-tooling", "cwe-79", "open-webui", "python", "self-hosted"]
not_affected_if: ["version-0.3.14-or-later"]
published_at: "2024-08-07T23:15:41+00:00"
first_seen_at: "2026-10-26T15:12:52+00:00"
updated_at: "2026-10-26T16:02:26+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-5jp3-wp5v-5363", "first_seen_at": "2026-10-26T15:12:52+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-6706", "first_seen_at": "2026-10-26T16:02:26+00:00"}]
---

# Open WebUI Stored Cross-Site Scripting Vulnerability

Open WebUI, a web front end for language models, can be coaxed by a crafted prompt into outputting JavaScript that executes in the page. An attacker who gets a malicious prompt in front of another user can run script in that user's browser session.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:open-webui affected < 0.3.14 fixed 0.3.14
- vendor:openwebui open webui affected = 0.1.105 fixed ?

## How to check

- Check the installed version with `pip show open-webui`; versions below `0.3.14` are affected.
- unknown

## Fix

- Upgrade the open-webui package to `0.3.14` or later.

## Timeline

- 2026-10-26T15:12:52+00:00 ghsa https://github.com/advisories/GHSA-5jp3-wp5v-5363
- 2026-10-26T16:02:26+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2024-6706

## From the sources

Attackers can craft a malicious prompt that coerces the language model into executing arbitrary JavaScript in the context of the web page.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
