CVE-2026-61570
MPXJ: XXE Vulnerability in MerlinReader
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
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.sf.mpxj » mpxj | >= 5.5.5, < 16.4.1 | 16.4.1 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects NuGet (4 packages) PyPI (1 package) RubyGems (1 package) . See all on OSV
References
| Package | joniles/mpxj | github.com |
| Web | joniles/mpxj advisory GHSA-5vvx-3h34-f3gj | github.com |
| Web | joniles/mpxj commit 6e8288b | github.com |
| Web | joniles/mpxj release v16.4.1 | github.com |
