CVE-2026-104250: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Unstructured-IO unstructured
Description
CVE-2026-104250 is a cross-site scripting (XSS) vulnerability in the unstructured library prior to version 0.24.1. The vulnerability arises because the library's HTML partitioning functions do not properly escape or reject unsafe HTML content, allowing malicious scripts to persist in generated HTML output. When this output is rendered in a browser, attacker-controlled scripts can execute in the context of the viewer, potentially compromising document ingestion workflows. This issue is fixed in version 0.24.1.
CVSS v3.1
Score 6.1medium
Affected software
Unstructured-IO
unstructured
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The unstructured library, used for ingesting and pre-processing various document formats, had a vulnerability in its HTML partitioning and rendering functions before version 0.24.1. Specifically, the to_html() function in unstructured/documents/ontology.py fails to escape output or reject unsafe URL schemes, allowing event-handler attributes, attribute breakout markup, and javascript: links to remain in the generated HTML. This improper neutralization of input (CWE-79) enables cross-site scripting attacks when the HTML is rendered in a browser, including scenarios where privileged users review submitted content. The vulnerability is addressed by updating to version 0.24.1.
Potential Impact
An attacker can inject malicious scripts into the HTML output generated by the unstructured library, which execute in the security context of the user viewing the rendered content. This can lead to information disclosure or other client-side impacts within document ingestion workflows. The CVSS 3.1 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.
Mitigation Recommendations
Upgrade the unstructured library to version 0.24.1 or later, where this vulnerability is fixed. No additional mitigation is required once the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-01T19:04:39.706Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ace610d2cdf04f656890a00
Added to database: 10/13/2026, 16:49:17 UTC
Last enriched: 10/13/2026, 17:04:25 UTC
Last updated: 10/13/2026, 18:57:33 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.