BreachSpiderVerified, not vibes

CVE-2024-45290 in Phpoffice Phpspreadsheet

High 7.5

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file which links media from external URLs. When opening the XLSX file, PhpSpreadsheet retrieves the image size and type by reading the file contents, if the provided path is a URL. By us...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.8%
EPSS percentile52th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Phpoffice Phpspreadsheet < 1.29.2 ≥ 2.0.0, < 2.1.1 ≥ 2.2.0, < 2.3.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file which links media from external URLs. When opening the XLSX file, PhpSpreadsheet retrieves the image size and type by reading the file contents, if the provided path is a URL. By using specially crafted `php://filter` URLs an attacker can leak the contents of any file or URL. Note that this vulnerability is different from GHSA-w9xv-qf98-ccq4, and resides in a different component. An attacker can access any file on the server, or leak information form arbitrary URLs, potentially exposing sensitive information such as AWS IAM credentials. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-45290
BreachSpider IDBS-2024-GLOBAL-213224-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2024-10-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-36: CWE-36

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-597 Absolute Path Traversal via CWE-36

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in PHPSpreadsheet allows attackers to leak the contents of files on the server by constructing specially crafted XLSX files with malicious URLs.

An attacker can create an XLSX file that includes media links using the `php://filter` wrapper. When PHPSpreadsheet processes this file, it attempts to retrieve the media, which can be exploited to read arbitrary files on the server.

Questions

What is CVE-2024-45290?

A vulnerability in PHPSpreadsheet allows attackers to leak the contents of files on the server by constructing specially crafted XLSX files with malicious URLs.

What is the CVSS score for CVE-2024-45290?

CVE-2024-45290 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.8%.

Is CVE-2024-45290 actively exploited?

No confirmed active exploitation of CVE-2024-45290 as of 2026-09-25.

How do I remediate CVE-2024-45290?

Priority: HIGH.

What systems are affected by CVE-2024-45290?

CVE-2024-45290 affects Phpoffice Phpspreadsheet.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Phpoffice","product":"Phpspreadsheet","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.