7.5high
Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-cr42-rg2m-mq4qPYSEC-2026-2455
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| docling (PyPI) | up to 2.61.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El backend JATS XML de Docling es vulnerable a ataques de Expansión de Entidades XML (XXE) hasta la versión 2.61.0. El backend utiliza etree.parse() para analizar archivos XML sin deshabilitar la resolución de entidades. Un atacante puede elaborar un archivo XML malicioso que contenga una carga útil de expansión de entidades anidada (Bomba XML). Cuando es procesado por Docling, la expansión exponencial de entidades conduce a un consumo excesivo de recursos, lo que resulta en una condición de denegación de servicio (DoS) en el sistema que ejecuta el analizador de Docling.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31247 changed 2026-05-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cr42-rg2m-mq4q changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-31247 changed 2026-11-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2455 changed 2026-07-13 | CC-BY-4.0 |