CVE-2026-61586

CVSS n/a P4 · Monitor (4/100)
Other identifiers: GHSA-XM28-XVQC-GXXG

Copernik XML Factory (stock JDK provider) has Improper restriction of XInclude resource resolution

Published: 02.10.2026 · Last updated: 30.11.2026 22:23 UTC · Revision 1 · Sources: FIRST Exploit Prediction Scoring System (EPSS), GitHub Security Advisories

Confirmed facts from the sources

CVSS
Not published by the sources
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
0.50 % · percentile 35.5 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation.
Public exploit
No reference to a public exploit.
Fix
Fix available
Monitored technologies
Java and OpenJDK

Description (source)

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 not on the classpath; - XInclude is enabled, by calling `setXIncludeAware(true)` or the equivalent reader feature; - it parses XML from an untrusted source. The Xerces provider (selected when Xerces is on the classpath) and the Android provider are not affected. Applications are advised to upgrade to `0.1.2`, which fixes the defect. As a workaround add Apache Xerces (`xercesImpl`) to the classpath so the library selects its unaffected Xerces provider. ### Acknowledgements The maintainer thank the following people for finding, reporting, and helping to remediate this issue: - Finders: Ta Duc Thien and Duc Anh Nguyen (Danzation) - Remediation developer: Ta Duc Thien - Tooling: Claude Code (Anthropic), Claude Opus 4.8

Affected products and versions

Vendor / productAffected versionsFixed inSource
maven: eu.copernik:copernik-xml-factory< 0.1.20.1.2github

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Fixed versions: eu.copernik:copernik-xml-factory 0.1.2

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (4/100)

  • Estimated exploitation probability 0.5 % (EPSS, percentile 35.5 %) – an estimate, not confirmation (+0)
  • No CVSS score yet (+0)
  • Linked to a monitored technology only by its description (+4)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links