JLSEC-2026-1455: In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not...
In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XMLPARSENONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/XML2_jllto a version that resolves this vulnerability.Fixed in 2.15.4+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Under what conditions is an application realistically exposed?
Exposure requires use of xmlXIncludeProcess or xmlXIncludeProcessTree with parse flags intended to constrain parsing, such as XML_PARSE_NONET. It is security-relevant when, without those flags being propagated, a custom resource loader can access the internet.
What could an attacker achieve if the vulnerable XInclude processing is reachable?
An attacker-controlled external resource may enable XML external entity injection, server-side request forgery, or denial of service. A denial of service example is an intentionally slow internet resource.
Is network access blocked by XML_PARSE_NONET during affected XInclude processing?
Not reliably. Before libxml2 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags, including XML_PARSE_NONET.
What version addresses the issue?
The issue affects libxml2 before 2.15.4. Updating to libxml2 2.15.4 or later addresses the missing parseFlags propagation.