Is phpoffice/phpexcel vulnerable?

Composer phpoffice/phpexcel has 23 known advisories in the phpwarden feed. Feed 2026.10.29.4, updated 2026-10-29.

23advisories
0critical
0on CISA KEV
20no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2018-19277XXE in PHPSpreadsheet due to encoding issuehigh8.8<1.8.2 or <1.8.01.8.2
CVE-2024-45293XXE in PHPSpreadsheet's XLSX readerhigh7.5<=1.8.2–
CVE-2014-2054PHPExcel vulnerable to XXE attacks through libxmlmedium0.0<1.8.01.8.0
CVE-2019-12331XXE in PHPSpreadsheet due to incomplete fix for previous encoding issuehigh8.8<=1.8.2–
CVE-2020-7776Cross-site scripting in phpoffice/phpspreadsheetmedium6.4<=1.8.2–
CVE-2024-45291PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery in HTML writer when embedding images is enabledmedium6.3<=1.8.2–
CVE-2024-47873XmlScanner bypass leads to XXEhigh7.5<=1.8.2–
CVE-2024-48917XXE in PHPSpreadsheet's XLSX readerhigh7.5<=1.8.2–
CVE-2024-45290PhpSpreadsheet allows absolute path traversal and Server-Side Request Forgery when opening XLSX filehigh7.7<=1.8.2–
CVE-2024-45048XXE in PHPSpreadsheet encoding is returnedhigh8.8<=1.8.2–
CVE-2024-45060PhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample filemedium6.1<=1.8.2–
CVE-2024-45046PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style informationmedium5.4<=1.8.2–
CVE-2025-23210PhpSpreadsheet allows bypassing of XSS sanitizer using the javascript protocol and special charactersmedium5.4<=1.8.2–
CVE-2024-56408PhpSpreadsheet allows unauthorized Reflected XSS in `Convert-Online.php` filehigh7.1<=1.8.2–
CVE-2025-22131Cross-Site Scripting (XSS) vulnerability in generateNavigation() function in PhpSpreadsheetmedium6.1<=1.8.2–
CVE-2024-56412PhpSpreadsheet allows bypass XSS sanitizer using the javascript protocol and special charactersmedium5.4<=1.8.2–
CVE-2024-56411PhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page headermedium5.4<=1.8.2–
CVE-2024-45292PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinksmedium5.4<=1.8.2–
CVE-2024-56366PhpSpreadsheet allows unauthorized Reflected XSS in the Accounting.php filehigh7.1<=1.8.2–
CVE-2024-56409PhpSpreadsheet allows unauthorized Reflected XSS in Currency.php filehigh7.1<=1.8.2–
CVE-2024-56410PhpSpreadsheet has a Cross-Site Scripting (XSS) vulnerability in custom propertiesmedium5.4<=1.8.2–
CVE-2024-56365PhpSpreadsheet allows unauthorized Reflected XSS in the constructor of the Downloader classhigh7.1<=1.8.2–
CVE-2015-3542PHPExcel XXE Vulnerabilityhigh0.0<1.8.11.8.1

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.