CVE-2026-61586
Published:October 30, 2026
Updated:November 04, 2026
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.
Affected Packages
https://github.com/copernik-eu/copernik-xml-factory.git (GITHUB):
Affected version(s) >=v0.1.0 <v0.1.2Fix Suggestion:
Update to version v0.1.2Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Restriction of XML External Entity Reference
EPSS
Base Score:
0.36