CVE-2024-49771 — Vulnerability in net.sf.mpxj:mpxj — CVE Details
MPXJ has a Potential Path Traversal Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.72%). Schedule for your next planned update.
Does your project use an affected MPXJ.Net version?
Paste your packages.lock.json to check it for CVE-2024-49771 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The patch for the historical vulnerability CVE-2020-35460 in MPXJ is incomplete as there is still a possibility that a malicious path could be constructed which would not be picked up by the original fix and allow files to be written to arbitrary locations.
Patches
The issue is addressed in MPXJ version 13.5.1
Workarounds
Do not pass zip files to MPXJ.
References
N/A
Credits
Issue report and patch provided by yyjLF and sprinkle
Advisory Timeline
- First published October 28, 2024 (759 days ago).
- Last revised July 7, 2026 — 617 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 13.5.1 for net.sf.mpxj:mpxj -->
dotnet add package MPXJ.Net --version 13.5.1
pip install "mpxj>=13.5.1"
gem install mpxj -v 13.5.1
dotnet add package net.sf.mpxj --version 13.5.1
dotnet add package net.sf.mpxj-for-csharp --version 13.5.1
dotnet add package net.sf.mpxj-for-vb --version 13.5.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 4 ecosystems: NuGet (4), Maven (1), PyPI (1), RubyGems (1).
| Package | Fixed In |
|---|---|
| net.sf.mpxj:mpxj Maven · Affected: 10.0.0, 10.0.1, 10.0.3, 10.0.4 (+95 more) | 13.5.1 |
| MPXJ.Net NuGet · Affected: 13.0.0, 13.0.1, 13.0.2, 13.1.0 (+9 more) | 13.5.1 |
| mpxj PyPI · Affected: 10.0.0, 10.0.1, 10.0.2, 10.0.3 (+91 more) | 13.5.1 |
| mpxj RubyGems · Affected: 10.0.0, 10.0.1, 10.0.2, 10.0.3 (+95 more) | 13.5.1 |
| net.sf.mpxj NuGet · Affected: 10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more) | 13.5.1 |
| net.sf.mpxj-for-csharp NuGet · Affected: 10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more) | 13.5.1 |
| net.sf.mpxj-for-vb NuGet · Affected: 10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more) | 13.5.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/joniles/mpxj/security/advisories/GHSA-j945-c44v-97g6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-49771ADVISORY
- https://github.com/joniles/mpxj/commit/8002802890dfdc8bc74259f37e053e15b827eea0WEB
- https://github.com/joniles/mpxjPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mpxj/CVE-2024-49771.ymlWEB
Frequently Asked Questions
- What is CVE-2024-49771?
- MPXJ has a Potential Path Traversal Vulnerability. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2024-49771?
- CVE-2024-49771 affects net.sf.mpxj:mpxj, MPXJ.Net and mpxj (and 3 more). It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-49771 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 49.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-65829MEDIUM
MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers
- CVE-2026-129221MEDIUM
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
- CVE-2026-128140MEDIUM
NLTK: Downloader cyclic collection indices cause an infinite closure walk