CVE-2026-104250: unstructured · Cross-site Scripting
Affects unstructuredSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.24.1 when convenient.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.24.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade unstructured to 0.24.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Unstructured-IOunstructured | Affected
| Fixed in
|
PyPIunstructuredpkg:pypi/unstructuredOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in unstructured version 0.24.1 and later. Users should upgrade to version 0.24.1 or above to ensure proper escaping of HTML output and prevent XSS. Until upgraded, avoid rendering untrusted document outputs directly in browsers or apply manual sanitization to escape event handlers and javascript: URLs in the HTML output.
Description
CVE-2026-104250 is a stored cross-site scripting (XSS) vulnerability in the unstructured library prior to version 0.24.1. When unstructured parses untrusted HTML documents and outputs them as HTML, it fails to escape malicious markup such as event handlers (e.g., onerror, onmouseover) and javascript: URLs. This allows embedded scripts to execute automatically in a viewer's browser when the output is rendered. The vulnerability affects the to_html() function and related HTML output paths. Exploitation can occur without user interaction, leading to information disclosure and potential privileged actions in ingestion pipelines where untrusted documents are reviewed in a web UI.
References
- github.com/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9 (opens in a new tab)
- github.com/Unstructured-IO/unstructured/pull/4394 (opens in a new tab)
- github.com/Unstructured-IO/unstructured/commit/cda16b3f2170019be9c6ea5635946fb3eaa2d66f (opens in a new tab)
- github.com/Unstructured-IO/unstructured/releases/tag/0.24.1 (opens in a new tab)