ID:12648 - Exploit for Stored cross-site scripting in PhpSpreadsheet - CVE-2026-40296

 
Main Vulnerability Database Exploits ID:12648 - Exploit for Stored cross-site scripting in PhpSpreadsheet - CVE-2026-40296

ID:12648 - Exploit for Stored cross-site scripting in PhpSpreadsheet - CVE-2026-40296

Published: April 27, 2026


Vulnerability identifier: #VU127972
Vulnerability risk: Low
CVE-ID: CVE-2026-40296
CWE-ID: CWE-79
Exploitation vector: Remote access
Vulnerable software:
PhpSpreadsheet

Link to public exploit:


Vulnerability description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within number format code with @ text placeholder. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Remediation

Install updates from vendor's website.