unstructured: Stored XSS via unescaped HTML generation
CVE-2026-104250 · GHSA-v5mq-3xhg-98m9 · published 2026-10-15
- Severity
- Medium
- CVSS score
- 6.1
- Chance of exploitation (EPSS)
- 0.23%
- Fixed in
- 0.24.1
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Stored XSS caused by improper output encoding. Anyone who renders the HTML or text_as_html generated from an untrusted document is affected. In an ingestion pipeline where uploaded documents are parsed and a staff member reviews their contents in a web UI, a low-privileged or external submitter can inject malicious HTML; when a privileged reviewer later opens the parsed result, fires in their session with no interaction, leading to cross-record information disclosure and privileged actions.
Upgrade unstructured to 0.24.1 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| unstructured | PyPI | <= 0.24.0 | 0.24.1 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- Criticalunstructured: Server-Side Request Forgery in the URL-based partitioningunstructured
- CriticalUnstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Writeunstructured
- Mediumunstructured XML External Entity (XXE)unstructured
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.