GitHub Advisoryadvisory · Maven, RubyGems, NuGet, PyPI
GHSA-5vvx-3h34-f3gj MPXJ: XXE Vulnerability in MerlinReader
HIGH
Official page ↗
- Aliases
- CVE-2026-61570
- Ecosystem
- Maven, RubyGems, NuGet, PyPI
- Packages
- net.sf.mpxj:mpxj, mpxj, MPXJ.Net, net.sf.mpxj, net.sf.mpxj-for-csharp, net.sf.mpxj-for-vb
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-611
- Reviewed
- 2026-09-22
Affected packages
• Maven net.sf.mpxj:mpxj: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• RubyGems mpxj: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• NuGet MPXJ.Net: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• NuGet net.sf.mpxj: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• NuGet net.sf.mpxj-for-csharp: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• NuGet net.sf.mpxj-for-vb: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
• PyPI mpxj: >= 5.5.5, < 16.4.1 → fixed in 16.4.1
Description
Impact
MPXJ 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.
Patches
The patch is included in MPXJ 16.4.1
Workarounds
Potential workarounds include:
• Avoid reading Merlin project files with MPXJ
• Only accept Merlin project files from trusted sources
• Preprocess Merlin SQLite databases to strip doctype declarations from the ZTIMEINTERVALS column
Related
Alias · CVE (1)
- CVE-2026-61570 MPXJ is an open source library to read and write project plans from a variety of file formats and databases. vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness