
PoC for PhpSpreadsheet XSS
This script generates a malicious Excel (.xlsx) file to exploit CVE-2024-45427 in PhpSpreadsheet library (v3.7.0).
It injects an XSS payload into the sheet name by manipulating the raw XML, bypassing standard library validation checks.
exploit.py and set your MY_IP and PORT.python3 exploit.py
python3 -m http.server 8000
assignment_exploit.xlsx to the target.For educational use and authorized testing only.