CVE-2020-25020: Improper Restriction of XML External Entity Reference in MPXJ
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.82858%
CWE
Published
5/7/2021
Updated
1/29/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
net.sf.mpxj:mpxj | maven | < 8.1.4 | 8.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper XML parsing configurations in GanttProjectReader and PhoenixReader components. The commit diff shows the fix involved adding XMLReaderHelper with 'disallow-doctype-decl' feature to prevent XXE. Prior to this fix, these readers used standard JAXB unmarshalling without secure XML parser settings, making them vulnerable to XXE via malicious XML entities. The advisory explicitly names these components as affected, and the patch directly addresses their XML handling.