Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit untrusted XML to application
-
DeliveryEmbed malicious xi:include href
-
ExploitStock JDK XInclude resolves resource
-
ExecutionRead local file or reach internal endpoint
-
ImpactDisclose file contents or SSRF internal service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | All of the following must hold simultaneously, per the advisory: (1) the application obtains its factory from XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory(), or hardens an externally obtained XMLReader via XmlFactories.harden(); (2) the stock JDK provider is in effect - Apache Xerces is NOT on the classpath (whose XInclude processor ignores ACCESS_EXTERNAL_* attributes); (3) XInclude is explicitly enabled via setXIncludeAware(true) or the equivalent reader feature; and (4) the application parses XML from an untrusted source. Limiting factors that reduce real-world exposure: XInclude is off by default and must be deliberately enabled; deployments with Apache Xerces on the classpath select the unaffected Xerces provider; and the Android provider is not affected. No credentials are required of the attacker (unauthenticated), but the vulnerability is otherwise entirely deployment/configuration-dependent. |
| Impact | Signals are mixed and point to a genuine but conditional issue rather than a widespread emergency. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.2 (High) and reflects an unauthenticated, network-delivered attack (PR:N, UI:N) whose impact is confined to confidentiality (VC:H; VI/VA:N) - consistent with file read and SSRF but no integrity or availability loss. Critically, AT:P (attack requirements present) encodes that exploitation depends on a specific, non-default deployment: the stock JDK provider must be in effect (Apache Xerces absent from the classpath), the application must have enabled XInclude, and it must parse untrusted XML. No EPSS score and no KEV listing were provided, so there is no evidence of active or at-scale exploitation; the vuln.today Decision label is 'this_week', i.e. prompt patching this week rather than act_now/emergency. The patch commits ship attack-demonstrating regression tests (file-read 'LEAKED_MARKER' and SSRF cases), so the trigger mechanism is public, but no standalone weaponized exploit is confirmed. Net: treat as a real, patch-this-week priority for the narrow set of deployments matching all preconditions; for everyone else (Xerces on classpath, Android provider, or XInclude not enabled) real-world risk is low. Missing data to note explicitly: EPSS is absent, so probability-of-exploitation cannot be quantified, and no KEV status is available to confirm or rule out exploitation in the wild. |
| Exploit ScenarioDerived | An application built on copernik-xml-factory runs on the stock JDK provider (Apache Xerces not on the classpath), calls setXIncludeAware(true) on a factory from XmlFactories.newDocumentBuilderFactory()/newSAXParserFactory() (or hardens an XMLReader), and parses XML from an untrusted source. A remote attacker submits an XML document containing an xi:include with a 'file://' href (e.g. file:///etc/passwd) to read local files, or an 'http' href pointing at an internal endpoint (e.g. a cloud metadata service) to perform SSRF, with the included content surfacing in the parsed result or triggering an outbound request. The fix commit includes attack-demonstrating regression tests, so the trigger is publicly documented, though no packaged standalone exploit is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 30, 2026
Copernik XML Factory through 0.1.1 fails to keep XInclude resource resolution blocked when it runs on its stock JDK provider, so a factory handed out by XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory() - or an XMLReader passed through XmlFactories.harden() - will still fetch xi:include hrefs after the application calls setXIncludeAware(true). Applications that parse untrusted XML in that configuration can be driven to disclose local files or to make HTTP requests to internal endpoints (SSRF); the Xerces and Android providers are not affected, and XInclude must be deliberately enabled for the flaw to matter. The project has released 0.1.2 to correct the defect, which is unauthenticated from the attacker's side (CVSS v4.0 PR:N) but conditional on provider choice and configuration; impact is limited to confidentiality in the assessed vector (C:H/I:N/A:N). No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor advisory credits Ta Duc Thien and Duc Anh Nguyen (Danzation) as finders.
Earlier versions of this analysis (1)
Improper restriction of XInclude resource resolution in Copernik XML Factory through 0.1.1 allows an attacker-controlled XML document to resolve xi:include hrefs when the stock JDK provider is in use, resulting in local file disclosure and server-side request forgery against internal HTTP endpoints. Only applications that obtain a factory from XmlFactories.newDocumentBuilderFactory() or XmlFactories.newSAXParserFactory() (or harden an externally supplied XMLReader via XmlFactories.harden()), run without Apache Xerces (xercesImpl) on the classpath, explicitly enable XInclude with setXIncludeAware(true) or the equivalent reader feature, and parse XML from an untrusted source are affected; the Xerces provider and the Android provider are not affected. No CVSS vector, EPSS score, or CISA KEV entry was provided, so no public exploit or active exploitation was identified at time of analysis, although the defect is confirmed and fixed by upstream commits and the 0.1.2 release.
RemediationAI
Upgrade to Copernik XML Factory 0.1.2, the vendor-released patch version, which installs a deny-all EntityResolver on every DocumentBuilder and on hardened XMLReaders so that xi:include hrefs are rejected by default (release tag: https://github.com/copernik-eu/copernik-xml-factory/releases/tag/v0.1.2; fixes in commits 2fa042c44931b0a4ddd585d62b97a8a987efd6c6 and e5febc6039ed4b0088245acb80ed7d6d6a7f5537). If upgrading is not immediately possible, the vendor-documented workaround is to add Apache Xerces (xercesImpl) to the classpath so the library selects its unaffected Xerces provider - note this changes which parser implementation the application loads and should be validated against existing parsing behaviour. Applications that do enable XInclude on patched versions and need specific trusted inclusions must install their own EntityResolver allow-list on the returned DocumentBuilder or XMLReader; anything the resolver does not explicitly allow stays blocked. Review whether XInclude is actually needed at all, since leaving setXIncludeAware(true) off removes the exposure entirely, and confirm no internal HTTP-egress or file-system reachability is exposed through parsers handling untrusted XML.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The library is a small Java hardening wrapper (Maven coordinates eu.copernik:copernik-xml-factory) around JAXP factory construction, advertising that XInclude resolution stays disabled on the objects it returns. XInclude (XML Inclusions, W3C) lets a document pull in external resources via xi:include href, which the underlying parser resolves through the SAX EntityResolver. On the stock JDK provider, the XInclude processor consults the parser's EntityResolver but does not honour the ACCESS_EXTERNAL_DTD / ACCESS_EXTERNAL_SCHEMA attributes the library relied on, so its documented guarantee silently did not hold; the root cause is CWE-611 (Improper Restriction of XML External Entity Reference), a class that also covers this XInclude-based external resource fetch. The fix commit adds a HardeningDocumentBuilderFactory wrapper that installs a deny-all Resolvers.FallbackDenyResolver on every DocumentBuilder produced, and calls reader.setEntityResolver(...) inside configure(XMLReader), with javadoc changes making clear that XInclude elements are processed but every external lookup is rejected unless a caller installs its own allow-listing EntityResolver. The trigger only manifests when the stock JDK provider is selected (Apache Xerces absent from the classpath), when XInclude is explicitly enabled, and when untrusted XML is parsed; the Xerces provider and the Android provider are documented as unaffected.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated attacker supplies XML over the network (AV:N, PR:N, UI:N), but exploitation needs non-default config (stock JDK provider plus XInclude enabled), so AC:H; impact is file read/SSRF confidentiality only, so C:H, I:N, A:N.
Primary rating from Vendor (https://github.com/copernik-eu/copernik-xml-factory).
CVSS VectorVendor: https://github.com/copernik-eu/copernik-xml-factory
Lifecycle Timeline
3DescriptionCVE.org
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()orXmlFactories.newSAXParserFactory(), or hardens an externally obtainedXMLReaderwithXmlFactories.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
Technical POC Analysis
CWE-611: Improper Restriction of XML External Entity Reference.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Copernik XML Factory version 0.1.1, when used with its default JDK provider and XInclude enabled, can allow an attacker to read local files or make internal network requests via malicious XML input. This affects applications that parse untrusted XML in this configuration, posing a confidentiality risk to sensitive data and internal systems. Leadership should prioritize remediation because the vulnerability is easy to exploit remotely and could lead to data breaches or internal network reconnaissance.
Apply vendor patch (upgrade to version 0.1.2). If immediate patching is not possible, disable XInclude or switch to an unaffected provider (Xerces or Android).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-114264
GHSA-xm28-xvqc-gxxg
NVD
CVE.org
EPSS
Exploit-DB