Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-104250— unstructured: Stored XSS via unescaped HTML generation

Quick assessment

Affected
Unstructured-IO unstructured
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Unstructured 库提供了用于摄取和预处理图像及文本文档(如 PDF、HTML、Word 文档等)的开源组件。在版本 0.24.1 之前, 和 VLM partitioner 可能会在 中保留不受信任的文档标签、属性、文本以及链接目标,而 函数会将结果以 HTML 文档的形式输出。在 中的 路径未对输出进行转义,也未拒绝不安全的 URL 方案,导致事件处理器属性、属性突破标记和 链接在解析后仍然存活。当生成的 HTML 或 在浏览器中渲染时,攻击者可控的脚本将在查看者的原始上下文中执行,包括在文档摄取工作流

CVSS 6.1 · Medium

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

VendorProduct Version RangeStatus
Unstructured-IO unstructured < 0.24.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104250

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
unstructured: Stored XSS via unescaped HTML generation
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Unstructured-IO unstructured < 0.24.1 -

II. Public POCs for CVE-2026-104250

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104250

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-104250 (1)

Vendor Advisories for CVE-2026-104250 (1)

Vendor Pages for CVE-2026-104250 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-104250

No comments yet


Leave a comment