Intel

AIKIDO-2024-10110

unstructured is vulnerable to XML External Entity Injection (XXE)

XML External Entity Injection (XXE)CVE-2024-46455 Published May 29, 2024

87

High Risk

This Affects:

pythonunstructured
0.6.7 - 0.14.2
Fixed in 0.14.3
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to XML external entity injection (XXE). The vulnerable function parses XML and resolves any external entities within the document.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the get_leaf_elements(...), partition_xml(...), or partition(...) functions in your application.

Background info

unstructured is vulnerable to XML External Entity Injection (XXE) in versions 0.6.7 - 0.14.2.

How to fix this

Upgrade unstructured to the patch version.