CVE-2026-104250 json
unstructured: Stored XSS via unescaped HTML generation
published 27d ago modified 24d ago also EUVD-2026-98918 , GHSA-v5mq-3xhg-98m9
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi unstructured 0.24.1
- unstructured unstructured 0.24.1
Is CVE-2026-104250 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-104250 updated cvss 6.1
unstructured: unstructured: Cross-site scripting via unescaped HTML document generation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 26d ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | unstructured | <0.24.1 |
0.24.1 |
Affected products
- Unstructured-IO unstructured
Classification
References
-
github.com
/Unstructured-IO/unstructured/pull/4394
web
-
github.com
/Unstructured-IO/unstructured/commit/cda16b3f2170019be9c6ea5635946fb3eaa2d66f
web
-
github.com
/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9
exploit, web
-
github.com
/Unstructured-IO/unstructured/releases/tag/0.24.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-104250
advisory
-
github.com
/Unstructured-IO/unstructured
package
Sources
- CVE List CVE-2026-104250
- GitHub Advisory GHSA-v5mq-3xhg-98m9
- NVD CVE-2026-104250
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.