● Composer package
phpoffice/phpspreadsheet
Phpoffice/phpspreadsheet has 35 security advisories. The newest release any of them names as the fix is 5.10.0.
As of , phpoffice/phpspreadsheet has 35 security advisories. The newest release any of them names as the fix is 5.10.0.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| From 4.0.0 before 5.10.0 | 5.10.0 | 13 advisories |
| From 3.0.0 before 3.10.8 | 3.10.8 | 24 advisories |
| From 2.2.0 before 2.4.8 | 2.4.8 | 29 advisories |
| From 2.0.0 before 2.1.19 | 2.1.19 | 30 advisories |
| Before 1.30.7 | 1.30.7 | 34 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-108360GHSA-2phh-27fw-q4gc | PhpSpreadsheet: SSRF whitelist bypass via unre-validated HTTP redirect in Drawing::setPath external image loadingModerate severity | From 4.0.0 before 5.10.0; From 3.3.0 before 3.10.8; From 2.2.0 before 2.4.8; From 2.0.0 before 2.1.19; Before 1.30.7 | 1.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0 | |
| CVE-2026-108359GHSA-j2w7-387v-m2rq | PhpSpreadsheet ODS Reader: Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)High severity | From 4.0.0 before 5.10.0; From 3.3.0 before 3.10.8; From 2.2.0 before 2.4.8; From 2.0.0 before 2.1.19; Before 1.30.7 | 1.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0 | |
| CVE-2026-108358GHSA-3x94-m842-937c | PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of ServiceHigh severity | From 4.0.0 before 5.10.0; From 3.3.0 before 3.10.8; From 2.2.0 before 2.4.8; From 2.0.0 before 2.1.19; Before 1.30.7 | 1.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0 | |
| CVE-2026-108357GHSA-rxj4-h86g-25gc | PhpSpreadsheet: XmlScanner Bypass via Double-Encoded unentity() TOCTOU Allows XXE and Denial of ServiceHigh severity | From 4.0.0 before 5.10.0; From 3.3.0 before 3.10.8 | 3.10.8, 5.10.0 | |
| CVE-2026-59933GHSA-xh5m-36r6-47m3 | PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustionHigh severity | From 4.0.0 before 5.8.1; From 3.3.0 before 3.10.7; From 2.2.0 before 2.4.7; From 2.0.0 before 2.1.18; Before 1.30.6 | 1.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1 | |
| CVE-2026-59932GHSA-2mrg-gjxq-2gvr | PHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustionHigh severity | From 4.0.0 before 5.8.1; From 3.3.0 before 3.10.7; From 2.2.0 before 2.4.7; From 2.0.0 before 2.1.18; Before 1.30.6 | 1.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1 | |
| CVE-2026-59931GHSA-6hq5-7373-42rg | PHPSpreadsheet: SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelistHigh severity | From 4.0.0 before 5.8.1; From 3.3.0 before 3.10.7; From 2.2.0 before 2.4.7; From 2.0.0 before 2.1.18; Before 1.30.6 | 1.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1 | |
| CVE-2026-45034GHSA-87m4-826x-3crx | PHPSpreadsheet has a patch bypass for CVE-2026-34084Critical severity | Before 1.30.5 | 1.30.5 | |
| CVE-2026-40902GHSA-7c6m-4442-2x6m | PhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row DimensionsHigh severity | From 4.0.0 before 5.7.0; From 3.3.0 before 3.10.5; From 2.2.0 before 2.4.5; From 2.0.0 before 2.1.16; Before 1.30.4 | 1.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0 | |
| CVE-2026-40863GHSA-84wq-86v6-x5j6 | PhpSpreadsheet has CPU Denial of Service via Unbounded Row Index in SpreadsheetML XML ReaderHigh severity | From 4.0.0 before 5.7.0; From 3.3.0 before 3.10.5; From 2.2.0 before 2.4.5; From 2.0.0 before 2.1.16; Before 1.30.6 | 1.30.6, 2.1.16, 2.4.5, 3.10.5, 5.7.0 | |
| CVE-2026-34084GHSA-q4q6-r8wh-5cgh | PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlledCritical severity | From 4.0.0 before 5.6.0; From 3.3.0 before 3.10.4; From 2.2.0 before 2.4.4; From 2.0.0 before 2.1.15; Before 1.30.3 | 1.30.3, 2.1.15, 2.4.4, 3.10.4, 5.6.0 | |
| CVE-2026-40296GHSA-hrmw-qprp-wgmc | PhpSpreadsheet has XSS via number format code with @ text placeholder bypasses htmlspecialchars in HTML writerModerate severity | From 4.0.0 before 5.7.0; From 3.3.0 before 3.10.5; From 2.2.0 before 2.4.5; From 2.0.0 before 2.1.16; Before 1.30.4 | 1.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0 | |
| CVE-2026-35453GHSA-6wpp-88cp-7q68 | PhpSpreadsheet has XSS via NumberFormat @ Text Substitution in HTML WriterModerate severity | From 4.0.0 before 5.7.0; From 3.3.0 before 3.10.5; From 2.2.0 before 2.4.5; From 2.0.0 before 2.1.16; Before 1.30.4 | 1.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0 | |
| CVE-2025-54370GHSA-rx7m-68vc-ppxh | PhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browserHigh severity | From 4.0.0 before 5.0.0; From 3.0.0 before 3.10.0; From 2.2.0 before 2.4.0; From 2.0.0 before 2.1.12; Before 1.30.0 | 1.30.0, 2.1.12, 2.4.0, 3.10.0, 5.0.0 | |
| CVE-2025-23210GHSA-r57h-547h-w24f | PhpSpreadsheet allows bypassing of XSS sanitizer using the javascript protocol and special charactersModerate severity | From 3.0.0 before 3.9.0; From 2.2.0 before 2.3.7; From 2.0.0 before 2.1.8; Before 1.29.9 | 1.29.9, 2.1.8, 2.3.7, 3.9.0 | |
| CVE-2025-22131GHSA-79xx-vf93-p7cx | Cross-Site Scripting (XSS) vulnerability in generateNavigation() function in PhpSpreadsheetModerate severity | From 3.0.0 before 3.8.0; From 2.2.0 before 2.3.6; From 2.0.0 before 2.1.7; Before 1.29.8 | 1.29.8, 2.1.7, 2.3.6, 3.8.0 | |
| CVE-2024-56412GHSA-q9jv-mm3r-j47r | PhpSpreadsheet allows bypass XSS sanitizer using the javascript protocol and special charactersModerate severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56411GHSA-hwcp-2h35-p66w | PhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page headerModerate severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56410GHSA-wv23-996v-q229 | PhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability in custom propertiesModerate severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56409GHSA-j2xg-cjcx-4677 | PhpSpreadsheet allows unauthorized Reflected XSS in Currency.php fileHigh severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56366GHSA-c6fv-7vh8-2rhr | PhpSpreadsheet allows unauthorized Reflected XSS in the Accounting.php fileHigh severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56365GHSA-jmpx-686v-c3wx | PhpSpreadsheet allows unauthorized Reflected XSS in the constructor of the Downloader classHigh severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-56408GHSA-x88g-h956-m5xg | PhpSpreadsheet allows unauthorized Reflected XSS in `Convert-Online.php` fileHigh severity | From 3.0.0 before 3.7.0; From 2.2.0 before 2.3.5; From 2.0.0 before 2.1.6; Before 1.29.7 | 1.29.7, 2.1.6, 2.3.5, 3.7.0 | |
| CVE-2024-48917GHSA-7cc9-j4mv-vcjp | XXE in PHPSpreadsheet's XLSX readerHigh severity | From 3.3.0 before 3.4.0; From 2.2.0 before 2.3.2; From 2.0.0 before 2.1.3; Before 1.29.4 | 1.29.4, 2.1.3, 2.3.2, 3.4.0 | |
| CVE-2024-47873GHSA-jw4x-v69f-hh5w | XmlScanner bypass leads to XXEHigh severity | From 3.3.0 before 3.4.0; From 2.2.0 before 2.3.2; From 2.0.0 before 2.1.3; Before 1.29.4 | 1.29.4, 2.1.3, 2.3.2, 3.4.0 | |
| CVE-2024-45293GHSA-6hwr-6v2f-3m88 | XXE in PHPSpreadsheet's XLSX readerHigh severity | From 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.1 | 1.29.1, 2.1.1, 2.3.0 | |
| CVE-2024-45292GHSA-r8w8-74ww-j4wh | PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinksModerate severity | From 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.2 | 1.29.2, 2.1.1, 2.3.0 | |
| CVE-2024-45291GHSA-w9xv-qf98-ccq4 | PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery in HTML writer when embedding images is enabledModerate severity | From 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.2 | 1.29.2, 2.1.1, 2.3.0 | |
| CVE-2024-45290GHSA-5gpr-w2p5-6m37 | PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery when opening XLSX fileHigh severity | From 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.2 | 1.29.2, 2.1.1, 2.3.0 | |
| CVE-2024-45060GHSA-v66g-p9x6-v98p | PhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample fileModerate severity | From 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.2 | 1.29.2, 2.1.1, 2.3.0 | |
| CVE-2024-45048GHSA-ghg6-32f9-2jp7 | XXE in PHPSpreadsheet encoding is returnedHigh severity | From 2.2.0 before 2.2.1; From 2.0.0 before 2.1.1; Before 1.29.1 | 1.29.1, 2.1.1, 2.2.1 | |
| CVE-2024-45046GHSA-wgmf-q9vr-vww6 | PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style informationModerate severity | From 2.0.0 before 2.1.0; Before 1.29.1 | 1.29.1, 2.1.0 | |
| CVE-2020-7776GHSA-4mqv-gcr3-pff9 | Cross-site scripting in phpoffice/phpspreadsheetModerate severity | Before 1.16.0 | 1.16.0 | |
| CVE-2019-12331GHSA-vvwv-h69m-wg6f | XXE in PHPSpreadsheet due to incomplete fix for previous encoding issueHigh severity | Before 1.8.0 | 1.8.0 | |
| CVE-2018-19277GHSA-xcrg-29h7-h4cj | XXE in PHPSpreadsheet due to encoding issueHigh severity | Before 1.5.1 | 1.5.1 |
Other Composer packages
- sylius/sylius37 advisories
- ci4-cms-erp/ci4ms36 advisories
- shopware/shopware34 advisories
- zendframework/zendframework134 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0