CVE Catalog

CVE-2026-61586

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

30th percentile - higher than 30% of all known CVEs

Summary

In Copernik XML Factory (secure-by-default JAXP factory creation for Java) before 0.1.2, XInclude resource resolution is not blocked on the stock JDK provider when an application enables XInclude on a factory returned by XmlFactories.newDocumentBuilderFactory() or newSAXParserFactory(), or on an XMLReader passed through XmlFactories.harden(). Parsing untrusted XML can disclose local files or, via http references, reach internal network endpoints through SSRF.

Risk Assessment

Local file contents may be disclosed and internal network services may be reached via SSRF. Exploitation requires XInclude to be enabled and untrusted XML to be parsed.

Recommendation

Upgrade Copernik XML Factory to version 0.1.2 or later. If XInclude is not needed, do not enable it on factories used to parse untrusted documents.

Related vulnerabilities

Original NVD description (English source)

Copernik XML Factory provides secure-by-default JAXP factory creation for Java. Prior to 0.1.2, Copernik XML Factory does not block XInclude resource resolution on the stock JDK provider after an application enables XInclude on a factory returned by `XmlFactories.newDocumentBuilderFactory()` or `XmlFactories.newSAXParserFactory()`, or on an `XMLReader` passed through `XmlFactories.harden()`. An application parsing untrusted XML can resolve attacker-controlled `xi:include` references to disclose local files or, through `http` references, reach internal network endpoints by server-side request forgery. Exploitation requires use of one of those factory/hardening APIs, the stock JDK provider with Apache Xerces absent from the classpath, explicit `setXIncludeAware(true)` or the equivalent reader feature, and XML from an untrusted source. The Xerces provider selected when Xerces is present and the Android provider are unaffected. This issue is fixed in version 0.1.2.

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