ZeroDay Brief
CVE-2024-56365

Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the constructor of the `Downloader` class.

CVSS
5.4Medium
Chance of exploitation (EPSS)
—
Published
Jan 3, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A moderate cross-site scripting flaw in Phpoffice Phpspreadsheet that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Phpoffice Phpspreadsheet
< 1.29.7; >= 2.0.0, < 2.1.6; >= 2.2.0, < 2.3.5; >= 3.0.0, < 3.7.0

Description

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the constructor of the `Downloader` class. Using the `/vendor/phpoffice/phpspreadsheet/samples/download.php` script, an attacker can perform a cross-site scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.

CWE-79

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2024-56365 published (CVSS 5.4) (Jan 3, 2025)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Jan 3, 2025

  1. CVECVE-2024-56365 published (CVSS 5.4)CVE Program · 17:15 UTC

References 3

  • github.com Patch /PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4#diff-fbb0f53a5c68eeeffaa9…
  • github.com ExploitVendor Advisory /PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jmpx-686v-c3wx
  • github.com ExploitVendor Advisory /PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jmpx-686v-c3wx

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”