High, CVSS 8.2MavenAmendedPublished
Copernik XML Factory (stock JDK provider) has Improper restriction of XInclude resource resolution
CVE-2026-61586 · GHSA-xm28-xvqc-gxxg
- Affected
- Maven eu.copernik:copernik-xml-factory < 0.1.2
- Fixed in
- 0.1.2· Vendor fix available
- Issue
- Copernik XML Factory through 0.1.1, when running on its stock JDK provider, does not block XInclude resource resolution after an application enables XInclude on a factory returned by XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory(), or on an XMLReader passed through XmlFactories.harden(). The library's documented guarantee that XInclude resolution stays disabled therefore does not hold on that provider. An application that parses untrusted XML in this configuration can be made to resolve xi:include references, allowing an attacker to read local files (information disclosure) or, through http hrefs, reach internal network endpoints (SSRF). All of the following conditions must hold for an application to be affected: - it obtains a factory from XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory(), or hardens an externally obtained XMLReader with XmlFactories.harden(); - the stock JDK provider is in effect, that is, Apache Xerces is…
Recommended action: Upgrade to 0.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.