Absolute Path Traversal Affecting phpoffice/phpexcel package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-PHPOFFICEPHPEXCEL-9299809
  • published7 Mar 2025
  • disclosed7 Oct 2024
  • creditEmil Virkki

Introduced: 7 Oct 2024

CVE-2024-45290  (opens in a new tab)
CWE-36  (opens in a new tab)

How to fix?

There is no fixed version for phpoffice/phpexcel.

Overview

Affected versions of this package are vulnerable to Absolute Path Traversal via the setPath method. An attacker can access or leak sensitive information by constructing a malicious XLSX file that manipulates the path to external or internal resources, exploiting the file reading mechanism to extract data. The attack vector evidenced relies on the use of an error oracle to extract data one character at a time.

CVSS Base Scores

version 4.0
version 3.1