Vulnerability Database · Packagist · Package report
phpoffice/phpspreadsheet: vulnerability history, versions and safety
phpoffice/phpspreadsheet is a package in the Packagist ecosystem. Vulert records 34 vulnerabilities for it across 88 releases, from Nov 2019 to Jul 2026. Each vulnerability names the versions it affects, the fixed version to move to, and a workaround where no fix has been published.
Every vulnerability has a patched version to move to.
No published version shipped hostile code.
Vulert verdict on phpoffice/phpspreadsheet i
Updated on 23 Oct 2026
Every vulnerability Vulert records for this package has a fix, and the newest was recorded 23 Jul 2026. Apply the fixes listed below and you are clear.
What to do: Move the affected dependencies to the fixed versions listed below, then keep the package monitored so the next vulnerability reaches you. Fix it, then keep watch: Vulert alerts you when a new vulnerability affects the version you run. Monitor it with Vulert →
- Vulnerabilities on record 34 over 6 years · 9 in the last year i
- Latest disclosure 23 Jul 2026 i
- Highest CVSS 9.2 i
- With no published fix 0 i
Concerned about your application's security?
Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.
01 Versions
Which versions are affected
Every version Vulert holds for phpoffice/phpspreadsheet, newest first, with the vulnerabilities that name it. A version with a count of zero has no recorded vulnerabilities; open a version to see the vulnerabilities it is exposed to.
Newest 88 of 88 versions on record. Severity counts are the vulnerabilities recorded against that exact release.
02 Disclosure history
How often vulnerabilities are recorded
Counted by the year Vulert recorded each vulnerability — the same date the table below shows as disclosed. 9 of the 34 were recorded in the last 12 months.
03 Vulnerabilities
Recorded vulnerabilities for phpoffice/phpspreadsheet
| Vulnerability | Severity | Fixed version ↑ | Disclosed ↑ |
|---|---|---|---|
| CVE-2026-45034: PHPSpreadsheet Patch Bypass Leading to Remote Code Execution | 9.2 critical | 1.30.5 | 08 Jun 2026 |
| CVE-2019-12331: XXE in PHPSpreadsheet due to incomplete fix for previous encoding issue | 8.8 high | 1.8.0 | 20 Nov 2019 |
| CVE-2018-19277: XXE in PHPSpreadsheet due to encoding issue | 8.8 high | 1.5.1 | 20 Nov 2019 |
| XXE Vulnerability in PHPSpreadsheet | 8.8 high | 1.29.1 | 29 Aug 2024 |
| CVE-2025-54370: PhpSpreadsheet SSRF Vulnerability in HTML Document Processing | 8.7 high | 1.30.0 | 25 Aug 2025 |
Vulnerability wrong, a fix missing, or a package we should cover? Report it and we will fix the record. Report Vulnerability Provide Feedback
Updated: 23/Oct/2026 · Vulnerabilities in our DB: 524315