CISA list

● 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

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 4.0.0 before 5.10.05.10.013 advisories
From 3.0.0 before 3.10.83.10.824 advisories
From 2.2.0 before 2.4.82.4.829 advisories
From 2.0.0 before 2.1.192.1.1930 advisories
Before 1.30.71.30.734 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-108360GHSA-2phh-27fw-q4gcPhpSpreadsheet: SSRF whitelist bypass via unre-validated HTTP redirect in Drawing::setPath external image loadingModerate severityFrom 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.71.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0
CVE-2026-108359GHSA-j2w7-387v-m2rqPhpSpreadsheet ODS Reader: Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)High severityFrom 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.71.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0
CVE-2026-108358GHSA-3x94-m842-937cPhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of ServiceHigh severityFrom 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.71.30.7, 2.1.19, 2.4.8, 3.10.8, 5.10.0
CVE-2026-108357GHSA-rxj4-h86g-25gcPhpSpreadsheet: XmlScanner Bypass via Double-Encoded unentity() TOCTOU Allows XXE and Denial of ServiceHigh severityFrom 4.0.0 before 5.10.0; From 3.3.0 before 3.10.83.10.8, 5.10.0
CVE-2026-59933GHSA-xh5m-36r6-47m3PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustionHigh severityFrom 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.61.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1
CVE-2026-59932GHSA-2mrg-gjxq-2gvrPHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustionHigh severityFrom 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.61.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1
CVE-2026-59931GHSA-6hq5-7373-42rgPHPSpreadsheet: SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelistHigh severityFrom 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.61.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1
CVE-2026-45034GHSA-87m4-826x-3crxPHPSpreadsheet has a patch bypass for CVE-2026-34084Critical severityBefore 1.30.51.30.5
CVE-2026-40902GHSA-7c6m-4442-2x6mPhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row DimensionsHigh severityFrom 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.41.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0
CVE-2026-40863GHSA-84wq-86v6-x5j6PhpSpreadsheet has CPU Denial of Service via Unbounded Row Index in SpreadsheetML XML ReaderHigh severityFrom 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.61.30.6, 2.1.16, 2.4.5, 3.10.5, 5.7.0
CVE-2026-34084GHSA-q4q6-r8wh-5cghPhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlledCritical severityFrom 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.31.30.3, 2.1.15, 2.4.4, 3.10.4, 5.6.0
CVE-2026-40296GHSA-hrmw-qprp-wgmcPhpSpreadsheet has XSS via number format code with @ text placeholder bypasses htmlspecialchars in HTML writerModerate severityFrom 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.41.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0
CVE-2026-35453GHSA-6wpp-88cp-7q68PhpSpreadsheet has XSS via NumberFormat @ Text Substitution in HTML WriterModerate severityFrom 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.41.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0
CVE-2025-54370GHSA-rx7m-68vc-ppxhPhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browserHigh severityFrom 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.01.30.0, 2.1.12, 2.4.0, 3.10.0, 5.0.0
CVE-2025-23210GHSA-r57h-547h-w24fPhpSpreadsheet allows bypassing of XSS sanitizer using the javascript protocol and special charactersModerate severityFrom 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.91.29.9, 2.1.8, 2.3.7, 3.9.0
CVE-2025-22131GHSA-79xx-vf93-p7cxCross-Site Scripting (XSS) vulnerability in generateNavigation() function in PhpSpreadsheetModerate severityFrom 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.81.29.8, 2.1.7, 2.3.6, 3.8.0
CVE-2024-56412GHSA-q9jv-mm3r-j47rPhpSpreadsheet allows bypass XSS sanitizer using the javascript protocol and special charactersModerate severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56411GHSA-hwcp-2h35-p66wPhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page headerModerate severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56410GHSA-wv23-996v-q229PhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability in custom propertiesModerate severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56409GHSA-j2xg-cjcx-4677PhpSpreadsheet allows unauthorized Reflected XSS in Currency.php fileHigh severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56366GHSA-c6fv-7vh8-2rhrPhpSpreadsheet allows unauthorized Reflected XSS in the Accounting.php fileHigh severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56365GHSA-jmpx-686v-c3wxPhpSpreadsheet allows unauthorized Reflected XSS in the constructor of the Downloader classHigh severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-56408GHSA-x88g-h956-m5xgPhpSpreadsheet allows unauthorized Reflected XSS in `Convert-Online.php` fileHigh severityFrom 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.71.29.7, 2.1.6, 2.3.5, 3.7.0
CVE-2024-48917GHSA-7cc9-j4mv-vcjpXXE in PHPSpreadsheet's XLSX readerHigh severityFrom 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.41.29.4, 2.1.3, 2.3.2, 3.4.0
CVE-2024-47873GHSA-jw4x-v69f-hh5wXmlScanner bypass leads to XXEHigh severityFrom 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.41.29.4, 2.1.3, 2.3.2, 3.4.0
CVE-2024-45293GHSA-6hwr-6v2f-3m88XXE in PHPSpreadsheet's XLSX readerHigh severityFrom 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.11.29.1, 2.1.1, 2.3.0
CVE-2024-45292GHSA-r8w8-74ww-j4whPhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinksModerate severityFrom 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.21.29.2, 2.1.1, 2.3.0
CVE-2024-45291GHSA-w9xv-qf98-ccq4PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery in HTML writer when embedding images is enabledModerate severityFrom 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.21.29.2, 2.1.1, 2.3.0
CVE-2024-45290GHSA-5gpr-w2p5-6m37PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery when opening XLSX fileHigh severityFrom 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.21.29.2, 2.1.1, 2.3.0
CVE-2024-45060GHSA-v66g-p9x6-v98pPhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample fileModerate severityFrom 2.2.0 before 2.3.0; From 2.0.0 before 2.1.1; Before 1.29.21.29.2, 2.1.1, 2.3.0
CVE-2024-45048GHSA-ghg6-32f9-2jp7XXE in PHPSpreadsheet encoding is returnedHigh severityFrom 2.2.0 before 2.2.1; From 2.0.0 before 2.1.1; Before 1.29.11.29.1, 2.1.1, 2.2.1
CVE-2024-45046GHSA-wgmf-q9vr-vww6PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style informationModerate severityFrom 2.0.0 before 2.1.0; Before 1.29.11.29.1, 2.1.0
CVE-2020-7776GHSA-4mqv-gcr3-pff9Cross-site scripting in phpoffice/phpspreadsheetModerate severityBefore 1.16.01.16.0
CVE-2019-12331GHSA-vvwv-h69m-wg6fXXE in PHPSpreadsheet due to incomplete fix for previous encoding issueHigh severityBefore 1.8.01.8.0
CVE-2018-19277GHSA-xcrg-29h7-h4cjXXE in PHPSpreadsheet due to encoding issueHigh severityBefore 1.5.11.5.1

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0