Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. unstructured
  4. ›
  5. CVE-2026-104250

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

October 15, 2026

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. Learn more about Dependency Scanning →

Affected versions

All versions before 0.24.1

Fixed versions

  • 0.24.1

Solution

Upgrade to version 0.24.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/unstructured/CVE-2026-104250.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 16 Oct 2026 12:19:21 +0000.