GHSA-w7xj-8fx7-wfch: Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE
- Identifiers
- CVE-2025-64495GHSA-w7xj-8fx7-wfch
- Published
- Record updated
- Affected
- open-webui <= 0.6.34
- Fixed in
- 0.6.35
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Open WebUI's custom prompt insertion feature assigns user-controlled prompt HTML to tempDiv.innerHTML without meaningful sanitisation when 'Insert Prompt as Rich Text' is enabled, in RichTextInput.svelte. A user who can create prompts can plant a payload that runs in another user's browser when that user invokes the matching / command. The advisory reports the XSS can be chained to force an admin to create a Python function via /api/v1/functions/create, leading to server-side code execution.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Coverage
News, research and other items that mention CVE-2025-64495.
- GHSA-3wgj-c2hg-vm6q: Open WebUI vulnerable to stored XSS via OAuth picture claim stored as SVG data URI in profile_image_urlGitHub Advisory Database, 2026-05-14
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database