CVE-2026-61570: MPXJ: XXE Vulnerability in MerlinReader

Published Sep 22, 2026
·
Updated

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

Other sources

MPXJ is an open source library to read and write project plans from a variety of file formats and databases. From 5.5.5 until 16.4.1, MerlinReader creates a DocumentBuilder with default settings while parsing XML from the ZTIMEINTERVALS column of a Merlin project SQLite database, leaving doctype declarations and external entities enabled. A crafted database can cause the parser to read an arbitrary local file, although MPXJ's subsequent handling of the parsed XML makes disclosure of the file contents unlikely. This issue is fixed in version 16.4.1.

MITRE

Affected Software

8 affected componentsFixes available
MPXJ MPXJ>=5.5.5<16.4.1
pip/mpxj>=5.5.5<16.4.1
16.4.1
nuget/net.sf.mpxj-for-vb>=5.5.5<16.4.1
16.4.1
nuget/net.sf.mpxj-for-csharp>=5.5.5<16.4.1
16.4.1
nuget/net.sf.mpxj>=5.5.5<16.4.1
16.4.1
nuget/MPXJ.Net>=5.5.5<16.4.1
16.4.1
rubygems/mpxj>=5.5.5<16.4.1
16.4.1
maven/net.sf.mpxj:mpxj>=5.5.5<16.4.1
16.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/mpxj to a version that resolves this vulnerability.

    Fixed in 16.4.1
  2. Upgrade

    Upgrade nuget/net.sf.mpxj-for-vb to a version that resolves this vulnerability.

    Fixed in 16.4.1
  3. Upgrade

    Upgrade nuget/net.sf.mpxj-for-csharp to a version that resolves this vulnerability.

    Fixed in 16.4.1
  4. Upgrade

    Upgrade nuget/net.sf.mpxj to a version that resolves this vulnerability.

    Fixed in 16.4.1
  5. Upgrade

    Upgrade nuget/MPXJ.Net to a version that resolves this vulnerability.

    Fixed in 16.4.1
  6. Upgrade

    Upgrade rubygems/mpxj to a version that resolves this vulnerability.

    Fixed in 16.4.1
  7. Upgrade

    Upgrade maven/net.sf.mpxj:mpxj to a version that resolves this vulnerability.

    Fixed in 16.4.1
  8. Upgrade

    Upgrade MPXJ to a version that resolves this vulnerability.

    Fixed in 16.4.1
  9. Compensating control

    Avoid reading Merlin project files with MPXJ.

  10. Compensating control

    Only accept Merlin project files from trusted sources.

  11. Compensating control

    Preprocess Merlin SQLite databases to strip doctype declarations from the ZTIMEINTERVALS column.

Event History

Sep 22, 2026
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:34 PM
Data Sourced
via GitHub·08:34 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using MPXJ versions from 5.5.5 through versions before 16.4.1 are exposed when they parse a Merlin project SQLite database containing attacker-controlled content in the ZTIMEINTERVALS column.

2

What does an attacker need to exploit it?

An attacker needs to provide or cause the application to process a crafted Merlin project SQLite database. No authentication or user interaction is required by the vulnerability metrics, but exploitation depends on the application accepting and parsing the malicious database.

3

What is the practical impact?

The XML parser can be induced to read an arbitrary local file through external entity processing. However, MPXJ's subsequent XML handling makes disclosure of the file contents unlikely.

4

What should teams do if they cannot upgrade immediately?

Avoid processing untrusted Merlin project SQLite databases, particularly databases whose ZTIMEINTERVALS data may be attacker-controlled. Upgrade to MPXJ 16.4.1 when possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203