Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Affected versions of phpoffice/phpspreadsheet are below 1.29.2, from 2.0.0 up to 2.1.1, and from 2.2.0 up to 2.3.0. The flaw is a cross-site scripting issue in a sample script, 45_Quadratic_equation_solver.php, which places user input directly into formulas. An unauthenticated attacker who can reach that script in a browser can get JavaScript to run by submitting crafted input. Upgrade to 1.29.2, 2.1.1, or 2.3.0; phpoffice/phpexcel is also listed as affected with no fixed version given. Sample files should not be deployed, so removing them is also advisable.
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 |
|---|---|---|---|---|
| 7.1 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0051, the 44th percentile, on 23 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-v66g-p9x6-v98p
- OSV: GHSA-v66g-p9x6-v98p
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-v66g-p9x6-v98p
- nvd.nist.gov/vuln/detail/CVE-2024-45060
- github.com/PHPOffice/PhpSpreadsheet/commit/3990173db1207767139e63d33783beafada57007
- github.com/PHPOffice/PhpSpreadsheet/commit/bc74f3aa1d76f191c6c7c3631e286abb25c38759
- github.com/PHPOffice/PhpSpreadsheet/commit/fb42a103f14cfce258c836b31f4a71f1fb1a9747
- github.com/PHPOffice/PhpSpreadsheet
- github.com/PHPOffice/PhpSpreadsheet/blob/d50b8b5de7e30439fb57eae7df9ea90e79fa0f2d/samples/Basic/45_Quadratic_equation_solver.php#L56