Loading...
Skip to main content

CVE-2024-49771 — Vulnerability in mpxj — CVE Details

MEDIUM

MPXJ has a Potential Path Traversal Vulnerability

Published October 28, 2024Updated July 7, 2026Source: osv

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 (714 days ago).
  • Last revised July 7, 2026 — 617 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update mpxj to 13.5.1 or later
pip install "mpxj>=13.5.1"
NuGet
Update net.sf.mpxj-for-vb to 13.5.1 or later
dotnet add package net.sf.mpxj-for-vb --version 13.5.1
Maven
Update net.sf.mpxj:mpxj to 13.5.1 or later
<!-- Update pom.xml dependency version to 13.5.1 for net.sf.mpxj:mpxj -->
NuGet
Update net.sf.mpxj-for-csharp to 13.5.1 or later
dotnet add package net.sf.mpxj-for-csharp --version 13.5.1
NuGet
Update net.sf.mpxj to 13.5.1 or later
dotnet add package net.sf.mpxj --version 13.5.1
Bundler
Update mpxj to 13.5.1 or later
gem install mpxj -v 13.5.1
NuGet
Update MPXJ.Net to 13.5.1 or later
dotnet add package MPXJ.Net --version 13.5.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (7)

Affects 4 ecosystems: nuget (4), maven (1), pypi (1), rubygems (1).

PackageEcosystemAffectedFixed In
mpxj
pypi
10.0.0, 10.0.1, 10.0.2, 10.0.3 (+91 more)13.5.1
net.sf.mpxj-for-vb
nuget
10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more)13.5.1
net.sf.mpxj:mpxj
maven
10.0.0, 10.0.1, 10.0.3, 10.0.4 (+95 more)13.5.1
net.sf.mpxj-for-csharp
nuget
10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more)13.5.1
net.sf.mpxj
nuget
10.0.0, 10.0.1, 10.0.2, 10.0.3 (+96 more)13.5.1
mpxj
rubygems
10.0.0, 10.0.1, 10.0.2, 10.0.3 (+95 more)13.5.1
MPXJ.Net
nuget
13.0.0, 13.0.1, 13.0.2, 13.1.0 (+9 more)13.5.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

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 mpxj, net.sf.mpxj-for-vb and net.sf.mpxj:mpxj (and 3 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-49771 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.3

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-j945-c44v-97g6
PYSEC-2026-1681

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies