Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PhpSpreadsheet versions below 1.29.1, and 2.0.0 up to but not including 2.1.0, are vulnerable to cross-site scripting in the HTML writer, which does not sanitize styling information such as font names. An attacker who supplies a spreadsheet can inject arbitrary JavaScript that runs when users view it as HTML, potentially taking over their session. Upgrade phpoffice/phpspreadsheet to 1.29.1 or 2.1.0. The package phpoffice/phpexcel is also affected at versions 1.8.2 and below, and no fixed version is listed for it.
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 |
|---|---|---|---|---|
| 5.4 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0042, the 36th 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-wgmf-q9vr-vww6
- OSV: GHSA-wgmf-q9vr-vww6
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-wgmf-q9vr-vww6
- nvd.nist.gov/vuln/detail/CVE-2024-45046
- github.com/PHPOffice/PhpSpreadsheet/pull/3957
- github.com/PHPOffice/PhpSpreadsheet/commit/f7cf378faed2e11cf4825bf8bafea4922ae44667
- github.com/PHPOffice/PhpSpreadsheet