Cross-site scripting in PhpSpreadsheet - CVE-2024-56412
Published: January 3, 2025 / Updated: October 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in a user's browser.
The vulnerability exists due to improper neutralization of script-containing content in the PhpSpreadsheet XSS sanitizer when processing content containing the javascript protocol and special characters. A remote attacker can supply specially crafted content using the javascript protocol and special characters to execute arbitrary JavaScript in a user's browser.