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 cross-site scripting in the HTML writer's page header, where the hyperlink base property is not sanitized. An attacker can craft a spreadsheet file that runs arbitrary JavaScript in the browser of a user who views the converted HTML. Upgrade to 1.29.7, 2.1.6, 2.3.5, 3.7.0 or later. The package phpoffice/phpexcel is also listed as affected up to 1.8.2, 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 |
|---|---|---|---|---|
| 4.8 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0037, the 31st 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-hwcp-2h35-p66w
- OSV: GHSA-hwcp-2h35-p66w
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-hwcp-2h35-p66w
- nvd.nist.gov/vuln/detail/CVE-2024-56411
- github.com/PHPOffice/PhpSpreadsheet/commit/45052f88e04c735d56457a8ffcdc40b2635a028e
- github.com/PHPOffice/PhpSpreadsheet