CVE-2026-104250: unstructured: Stored XSS via unescaped HTML generation
When unstructured parses an untrusted document and outputs the result as HTML, malicious markup contained in the document (e.g. <img src=x onerror=...>) is left in the output HTML without escaping. When that output is displayed in a browser, the script embedded in the document executes in the viewer’s browser.
References
- github.com/Unstructured-IO/unstructured/commit/cda16b3f2170019be9c6ea5635946fb3eaa2d66f
- github.com/Unstructured-IO/unstructured/pull/4394
- github.com/Unstructured-IO/unstructured/releases/tag/0.24.1
- github.com/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9
- github.com/advisories/GHSA-v5mq-3xhg-98m9
- nvd.nist.gov/vuln/detail/CVE-2026-104250
Code Behaviors & Features
Detect and mitigate CVE-2026-104250 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →