{"data":{"id":"734c6313-2a8d-4d03-8b29-e7abc6cdd991","title":"GHSA-v5mq-3xhg-98m9: unstructured: Stored XSS via unescaped HTML generation","summary":"The unstructured library (version 0.23.3 tested) emits untrusted document content into HTML without escaping. Through partition_html(html_parser_version=\"v2\") and elements_to_html(), event-handler attributes such as onerror and onmouseover and javascript: link URLs survive into the output, so the script runs when a browser renders it, including automatically via <img onerror> with no user interaction. Anyone rendering text_as_html from untrusted input is exposed, which the advisory describes as stored XSS in ingestion pipelines.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-v5mq-3xhg-98m9","publishedAt":"2026-10-15T20:16:18.000Z","cveId":"CVE-2026-104250","cweIds":["CWE-79","CWE-116"],"cvssScore":"6.1","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["unstructured@<= 0.24.0 (fixed: 0.24.1)"],"affectedPackageNames":["unstructured"],"affectedPackageRefs":["pypi:unstructured"],"affectedVendors":[],"affectedVendorsRaw":["unstructured"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00234,"epssPercentile":0.15411,"epssCheckedAt":"2026-12-03T18:26:59.273Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/Unstructured-IO/unstructured/security/advisories/GHSA-v5mq-3xhg-98m9"],"patchCommitUrls":["https://github.com/Unstructured-IO/unstructured/commit/cda16b3f2170019be9c6ea5635946fb3eaa2d66f","https://github.com/Unstructured-IO/unstructured/pull/4394"],"ssvcExploitation":"poc","nvdStatus":"Awaiting Analysis","referencesCheckedAt":"2026-12-03T19:19:17.244Z","kevDateAdded":null,"advisoryAliases":["GHSA-v5mq-3xhg-98m9"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-10-15T20:16:18.000Z","fixReleasedAt":"2026-07-11T23:53:33.634Z","daysToFix":-96,"fixCheckedAt":"2026-12-03T18:30:38.575Z","capecIds":["CAPEC-198","CAPEC-86"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["unstructured@0.24.1"],"affectedPurls":["pkg:pypi/unstructured"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-07-11","source":"package_registry"},{"event":"published","date":"2026-10-15","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"pypi","name":"unstructured","fixedVersion":"0.24.1","matchedVersion":"0.24.1","fixReleasedAt":"2026-07-11T23:53:33.634Z","daysToFix":-96,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:38.574Z"}]}}