Public vulnerability disclosure

CVE-2026-61586

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

publishedCWE-611

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.

Technical severity8.2 highCVSS 4.0 · CNA: GitHub_M
Published2026-10-30Source updated 2026-11-05
Collected2026-11-053 attributed sources

Fixes and workarounds

Fix

eu.copernik:copernik-xml-factory (Maven): OSV reports a fixed version 0.1.2. Check the advisory for supported release branches.

Source: OSV GHSA-xm28-xvqc-gxxg

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
copernik-xml-factory
copernik-eu
< 0.1.2 (affected) CNA: GitHub_M
eu.copernik:copernik-xml-factory

eu.copernik:copernik-xml-factory
Maven
0.1.0 (affected, Maven)
0.1.1 (affected, Maven)
Ecosystem version events: introduced 0; fixed 0.1.2
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.1.2"
  }
]

Other versions: unaffected
OSV GHSA-xm28-xvqc-gxxg

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 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:NCNA: GitHub_M

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide