Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PhpSpreadsheet versions before 1.29.7, from 2.0.0 before 2.1.6, from 2.2.0 before 2.3.5, and from 3.0.0 before 3.7.0 are vulnerable to reflected cross-site scripting in the Accounting.php sample script. An unauthenticated attacker can get a user to submit a crafted form, which runs arbitrary JavaScript in the victim's browser. Upgrade to 1.29.7, 2.1.6, 2.3.5, 3.7.0 or later. The sample script is at samples/Wizards/NumberFormat/Accounting.php; removing it from deployed code is an option. PhpExcel is also affected with no fixed version listed.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.3 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0034, the 28th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:27 UTC First seen by agentprime
- 31 Oct 2026, 14:27 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-c6fv-7vh8-2rhr
- OSV: GHSA-c6fv-7vh8-2rhr
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-c6fv-7vh8-2rhr
- nvd.nist.gov/vuln/detail/CVE-2024-56366
- github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4
- github.com/PHPOffice/PhpSpreadsheet