Advisory

GHSA-5vvx-3h34-f3gj

Also known as: CVE-2026-61570, PYSEC-2026-4107

Summary

MPXJ: XXE Vulnerability in MerlinReader

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-22 20:34 UTC
Modified
2026-10-01 17:56 UTC

Affected packages and fixes

mpxj

RubyGems · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

The export has no generic command for this ecosystem.

MPXJ.Net

NuGet · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

The export has no generic command for this ecosystem.

net.sf.mpxj

NuGet · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

The export has no generic command for this ecosystem.

net.sf.mpxj-for-csharp

NuGet · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

The export has no generic command for this ecosystem.

net.sf.mpxj-for-vb

NuGet · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

The export has no generic command for this ecosystem.

mpxj

PyPI · All systems

Affected

  • introduced 5.5.5, fixed 16.4.1 (ecosystem)

Fixed versions

16.4.1

Fix

  • Fixed version 16.4.1
    pip install --upgrade mpxj==16.4.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences