CVE-2024-56410

MEDIUM

PhpSpreadsheet <3.7.0, 2.3.5, 2.1.6, 1.29.7 - XSS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-56410. PoCs published by Kl3lCrypt.

AI-analyzed exploit summary This Python script generates a malicious XLSX file that exploits an XSS vulnerability by embedding a base64-encoded payload in the sheet name, which executes when the file is opened. The payload exfiltrates the victim's cookies to an attacker-controlled server.

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 have a cross-site scripting (XSS) vulnerability in custom properties. The HTML page is generated without clearing custom properties. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.

Exploits (1)

github WORKING POC
by Kl3lCrypt · pythonpoc
https://github.com/Kl3lCrypt/cve-exploits/tree/main/CVE-2024-56410

This Python script generates a malicious XLSX file that exploits an XSS vulnerability by embedding a base64-encoded payload in the sheet name, which executes when the file is opened. The payload exfiltrates the victim's cookies to an attacker-controlled server.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Phpspreadsheet (or similar Excel processing libraries)
No auth needed
Prerequisites: Attacker-controlled server to receive exfiltrated data · Victim must open the malicious XLSX file
devstral-2 · analyzed Mar 19, 2026 Full analysis →

Scores

CVSS v3 5.4
EPSS 0.0091
EPSS Percentile 76.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
phpoffice/phpexcel 0Packagist
phpoffice/phpspreadsheet < 1.29.7
phpoffice/phpspreadsheet 3.0.0 - 3.7.0Packagist
Published Jan 03, 2025
Tracked Since Feb 18, 2026