CVEvulnerability
CVE-2026-61586
Exploitation and prioritisation
- EPSS
- 0.36% chance of exploitation in the next 30 days · in the top 70.4% of all CVEs (2026-11-03)
- EU Vulnerability Database
- EUVD-2026-114264
Affected packages
| Ecosystem | Package | Vulnerable | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | eu.copernik:copernik-xml-factory | < 0.1.2 | 0.1.2 | GHSA-xm28-xvqc-gxxg |
- Status
- Deferred
- Published
- 2026-10-30
- Last modified
- 2026-10-30
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.2 HIGH — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weaknesses
- CWE-611
Description
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.
Related
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
Referenced by GitHub Advisory · alias (1)
- GHSA-xm28-xvqc-gxxg Copernik XML Factory (stock JDK provider) has Improper restriction of XInclude resource resolution advisory · Maven
References
- https://github.com/copernik-eu/copernik-xml-factory/commit/2fa042c44931b0a4ddd585d62b97a8a987efd6c6 github.com
- https://github.com/copernik-eu/copernik-xml-factory/commit/e5febc6039ed4b0088245acb80ed7d6d6a7f5537 github.com
- https://github.com/copernik-eu/copernik-xml-factory/releases/tag/v0.1.2 github.com
- https://github.com/copernik-eu/copernik-xml-factory/security/advisories/GHSA-xm28-xvqc-gxxg github.com