CVE Catalog

CVE-2026-31247

High
Published: Translated: NVD NIST

Summary

Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks through version 2.61.0. It uses etree.parse() to parse XML files without disabling entity resolution, allowing for the creation of a malicious XML file that leads to excessive resource consumption.

Risk Assessment

An attacker can exploit this vulnerability to perform a denial of service (DoS) attack, potentially causing the system running the Docling parser to become unavailable.

Recommendation

It is recommended to update to the latest version of Docling that disables entity resolution in the etree.parse() function or to implement additional safeguards against XXE attacks.

Related vulnerabilities

Original NVD description (English source)

Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend uses etree.parse() to parse XML files without disabling entity resolution. An attacker can craft a malicious XML file containing a nested entity expansion payload (XML Bomb). When processed by Docling, the exponential expansion of entities leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS