CVE-2024-6706
Python vulnerability analysis and mitigation

Overview

A stored cross-site scripting (XSS) vulnerability was discovered in Open WebUI version 0.1.105 running on Debian 12, identified as CVE-2024-6706. The vulnerability was discovered by Jaggar Henry and Sean Segreti of KoreLogic, Inc. and publicly disclosed on August 7, 2024 (KoreLogic Advisory).

Technical details

The vulnerability exists in the way Open WebUI handles markdown code blocks from language model responses. While the application properly sanitizes special characters outside of markdown code blocks by converting them to HTML entities, it fails to encode these characters when they appear inside code blocks. This inconsistency in sanitization allows attackers to craft malicious prompts that can confuse the sanitizer by using uneven and improperly closed markdown code blocks, ultimately leading to arbitrary JavaScript execution in the web page context (KoreLogic Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the web page through crafted malicious prompts. This could potentially lead to unauthorized access to sensitive information, session hijacking, or other client-side attacks (KoreLogic Advisory).

Mitigation and workarounds

As of the public disclosure, the issue appears to have been silently remediated. The maintainer closed the GitHub security report GHSA-6953-m722-rpq8 on May 2, 2024, though no official response or fix details were provided by the vendor (KoreLogic Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 09, 2025
CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
GHSA-9rwj-6rc7-p77cHIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 10, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 10, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management