CVE-2024-49771: MPXJ Path Traversal Vulnerability

net.sf.mpxj:mpxj Updated 02 Oct 2025

Summary

28/10/2024
Yes i
Moderate
5.3

CVE-2024-49771: MPXJ has a Potential Path Traversal Vulnerability. Affects net.sf.mpxj:mpxj versions >= 8.3.5, < 13.5.1. Fixed in 13.5.1. How to fix ↓

Also tracked for

The same CVE-2024-49771 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MPXJ is an open-source library designed for reading and writing project management file formats, such as Microsoft Project and Primavera. It is widely used in various applications to facilitate project data manipulation. However, MPXJ has been found to have a potential path traversal vulnerability, which could allow unauthorized file access and manipulation.

Vulnerability Detail

The vulnerability arises from an incomplete patch for CVE-2020-35460, which allows a malicious actor to construct a path that may bypass the original fix. This could lead to files being written to arbitrary locations on the server, posing a risk of data exposure or corruption. The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

How To Fix

Minimum fixed version

13.5.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid passing zip files to MPXJ until the package is updated to a secure version.

Conclusion

The MPXJ library has a potential path traversal vulnerability that could allow unauthorized file access. It is crucial to update to version 13.5.1 or later to mitigate this risk. Users should also consider using Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for net.sf.mpxj:mpxj →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 5.3, indicating a moderate severity level.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.

If exploited, this vulnerability could allow unauthorized access to sensitive files on the server, leading to data breaches or corruption.

Yes, version 13.5.1 and later of MPXJ addresses this vulnerability and is safe to use.

If you cannot update the package right away, refrain from using zip files with MPXJ as a temporary measure to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for net.sf.mpxj:mpxj.

How To Fix

Minimum fixed version

13.5.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback