Home / Unstructured-IO / unstructured / CVE-2026-104250
CVE-2026-104250: is it exploited, and which versions of Unstructured-IO unstructured are affected and fixed?
CVE-2026-104250 is a cross-site scripting (XSS) vulnerability in Unstructured-IO unstructured. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: unstructured before 0.24.1 (GitHub advisory GHSA-v5mq-3xhg-98m9). Fixed in 0.24.1 (GitHub advisory GHSA-v5mq-3xhg-98m9). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-104250?
unstructured: Stored XSS via unescaped HTML generation
The unstructured library provides open-source components for ingesting and pre-processing images and text documents, such as PDFs, HTML, Word docs, and many more. Prior to 0.24.1, partition_html(html_parser_version="v2") and the VLM partitioner can preserve untrusted document tags, attributes, text, and link targets in metadata.text_as_html, while elements_to_html() emits the result as an HTML document. The to_html() path in unstructured/documents/ontology.py does not escape output or reject unsafe URL schemes, allowing event-handler attributes, attribute breakout markup, and javascript: links to survive parsing. When the generated HTML or text_as_html is rendered in a browser, attacker-controlled script can execute in the viewer's origin, including in document-ingestion workflows where a privileged reviewer opens submitted content. This issue is fixed in version 0.24.1.
From the CVE record by GitHub_M, last updated October 14, 2026, 15:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Unstructured-IO | unstructured | < 0.24.1 |
As the CVE record by GitHub_M states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | unstructured | < 0.24.1 | 0.24.1 | GHSA-v5mq-3xhg-98m9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 15, 2026. Summary: unstructured: Stored XSS via unescaped HTML generation.
How severe is CVE-2026-104250?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-104250 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 14, 2026)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://github.com/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9 x_refsource_CONFIRM
- https://github.com/Unstructured-IO/unstructured/pull/4394 x_refsource_MISC
- https://github.com/Unstructured-IO/unstructured/commit/cda16b3f2170019be9c6ea5635946fb3eaa2d66f x_refsource_MISC
- https://github.com/Unstructured-IO/unstructured/releases/tag/0.24.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 1, 2026
- Published
- October 13, 2026, 16:29 UTC
- CVE record updated
- October 14, 2026, 15:32 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 16, 2026, 16:00 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect unstructured?
- Aug 20, 2026CVE-2026-71428 Unstructured-IO unstructured: open redirect
- Feb 4, 2026CVE-2025-64712 Unstructured-IO unstructured: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-104250
Is CVE-2026-104250 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Unstructured-IO unstructured are affected by CVE-2026-104250?
unstructured before 0.24.1, per the GitHub advisory GHSA-v5mq-3xhg-98m9. The tables above give every range the sources list.
Which version fixes CVE-2026-104250?
0.24.1, per the GitHub advisory GHSA-v5mq-3xhg-98m9. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-104250?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-104250?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.