CriticalGHSA-wcp5-m52f-mhh5CVE-2020-25020

Improper Restriction of XML External Entity Reference in MPXJ

Published 7 May 2021 · Updated 8 Nov 2023

Is your project on an affected net.sf.mpxj:mpxj?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<8.1.4
Fixed in
8.1.4
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=net.sf.mpxj:mpxj -DdepVersion=8.1.4 -DforceVersion=true

Details

"MPXJ through 8.1.3 allows XXE attacks. This affects the GanttProjectReader and PhoenixReader components."

Is GHSA-wcp5-m52f-mhh5 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected net.sf.mpxj:mpxj, and gives you the command that fixes it.

More advisories for net.sf.mpxj:mpxj

  • MediumCVE-2026-65829MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers · 22 Sept 2026
  • HighCVE-2026-61570MPXJ: XXE Vulnerability in MerlinReader · 22 Sept 2026
  • MediumCVE-2024-49771MPXJ has a Potential Path Traversal Vulnerability · 28 Oct 2024
  • LowCVE-2022-41954Temporary File Information Disclosure vulnerability in MPXJ · 28 Nov 2022
  • MediumCVE-2020-35460MPXJ path Traversal vulnerability · 18 Dec 2020
net.sf.mpxj:mpxj security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.