Quick answers
- Is CVE-2026-104250 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-104250 being exploited in the wild.
- How severe is CVE-2026-104250?
- Medium severity, with a CVSS score of 6.1, published 13 October 2026.
- Which products and versions are affected?
- unstructured (PyPI) <= 0.24.0, ECOSYSTEM:introduced=0,fixed=0.24.1; Unstructured-Io Unstructured 0.23.3 and likely earlier.
- Is there a fix for CVE-2026-104250?
- Yes. unstructured (PyPI): upgrade to 0.24.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-104250 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-104250?
- Check whether you run unstructured (PyPI) or Unstructured-Io Unstructured at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- unstructured (PyPI): upgrade to 0.24.1 or later
pip install "unstructured>=0.24.1"
Technical details
The `to_html()` function in `documents/ontology.py` performs no HTML escaping when converting parsed document elements to HTML output, leaving event handler attributes (e.g., `onerror`, `onmouseover`), `javascript:` URL schemes, and other malicious markup from input documents unescaped. An attacker can embed payloads like `<img src=x onerror="...">` or `<a href="javascript:...">` in a document submitted to an ingestion pipeline; when a downstream user renders the generated HTML, the payload executes with no user interaction required for image-based vectors.
Affected products
- unstructured-io unstructured 0.23.3 and likely earlier
Identifiers
- CVE-2026-104250
- GHSA-v5mq-3xhg-98m9
Timeline
- 2026-10-15: disclosed