CVE-2026-31247: High severity Docling Docling JATS XML backend vulnerability

Published May 11, 2026
·
Updated

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 Software

1 affected component
Docling Docling JATS XML backend<=2.61.0

Event History

May 11, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems that process attacker-controlled or otherwise untrusted JATS XML files with Docling's JATS XML backend are exposed. The issue can be triggered remotely through malicious XML input and does not require authentication or user interaction.

2

What does an attacker need to exploit it?

An attacker needs to provide a crafted JATS XML document containing nested entity expansions. Processing that document with the affected backend can consume excessive system resources and cause a denial-of-service condition.

3

Which Docling versions are affected?

The issue affects the Docling JATS XML backend through version 2.61.0. The provided information does not identify a fixed version.

4

What should teams do if they cannot patch immediately?

Do not process untrusted JATS XML files with the affected backend until a fix is available. Restrict XML inputs to trusted sources to reduce the opportunity for an attacker to submit an entity-expansion payload.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203