CVE-2026-61570: MPXJ XXE Vulnerability Vulnerability
HIGHCVE-2026-61570 is a HIGH (CVSS 7.5) xxe vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting MPXJ libraries in the Maven ecosystem. The issue involves xxe vulnerability in merlinreader. Remediation is available by upgrading affected packages to version 16.4.1.
CVE-2026-61570 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-61570
To remediate this vulnerability, upgrade all affected MPXJ dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>net.sf.mpxj</groupId>
<artifactId>mpxj</artifactId>
<version>16.4.1</version>
</dependency>
Upgrade mpxj to 16.4.1
Upgrade MPXJ.Net to 16.4.1
Upgrade net.sf.mpxj to 16.4.1
Upgrade net.sf.mpxj-for-csharp to 16.4.1
Upgrade net.sf.mpxj-for-vb to 16.4.1
pip install mpxj>=16.4.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.sf.mpxj
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-61570, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.sf.mpxj
Analyze the terminal output to locate any version of MPXJ in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.4.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.sf.mpxj command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In MPXJ, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-61570 Affected MPXJ Versions
7 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.sf.mpxj:mpxj
|
Maven |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
mpxj
|
RubyGems |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
MPXJ.Net
|
NuGet |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
net.sf.mpxj
|
NuGet |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
net.sf.mpxj-for-csharp
|
NuGet |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
net.sf.mpxj-for-vb
|
NuGet |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
|
mpxj
|
PyPI |
≥ 5.5.5
< 16.4.1
|
16.4.1
|
References
Frequently Asked Questions
What is CVE-2026-61570?
Which MPXJ versions are affected?
What version fixes CVE-2026-61570?
Is mpxj affected?
Is MPXJ.Net affected?
What is the CVSS score of CVE-2026-61570?
What CWE is associated with CVE-2026-61570?
How can I check Maven dependencies for CVE-2026-61570?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vvx-3h34-f3gj",
"modified" : "2026-09-22T20:34:25Z",
"published" : "2026-09-22T20:34:25Z",
"aliases" : [ "CVE-2026-61570" ],
"summary" : "MPXJ: XXE Vulnerability in MerlinReader",
"details" : "### Impact\nMPXJ used the default configuration when creating a DocumentBuilder instance, which leaves doctype declarations enabled, when parsing the XML content of the ZTIMEINTERVALS column from a Merlin project SQLite file. This would allow a carefully crafted XML payload to read an arbitrary file. However, although an arbitrary file can be read, the way the resulting parsed XML is processed by MPXJ means that the data it contains is unlikely to be available for exfiltration.\n\n### Patches\nThe patch is included in MPXJ 16.4.1\n\n### Workarounds\nPotential workarounds include:\n* Avoid reading Merlin project files with MPXJ\n* Only accept Merlin project files from trusted sources\n* Preprocess Merlin SQLite databases to strip doctype declarations from the ZTIMEINTERVALS column",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.sf.mpxj:mpxj"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "mpxj"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "MPXJ.Net"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "net.sf.mpxj"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "net.sf.mpxj-for-csharp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "net.sf.mpxj-for-vb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "mpxj"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.5"
}, {
"fixed" : "16.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/joniles/mpxj/security/advisories/GHSA-5vvx-3h34-f3gj"
}, {
"type" : "WEB",
"url" : "https://github.com/joniles/mpxj/commit/6e8288bc4d1cd62842af298004dc74fe66fb0805"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/joniles/mpxj"
}, {
"type" : "WEB",
"url" : "https://github.com/joniles/mpxj/releases/tag/v16.4.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-22T20:34:25Z",
"nvd_published_at" : null
}
}