# phpoffice/phpexcel (Packagist) vulnerabilities

22 known vulnerabilities (11 high, 8 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://packagist.org/packages/phpoffice/phpexcel

## Advisories (22)

### [CVE-2025-23210](https://cve.now/CVE-2025-23210): Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet

- Severity: Medium 4.8
- Published: Feb 3, 2025
- Affected: through 1.8.2.

### [CVE-2025-22131](https://cve.now/CVE-2025-22131): Cross-Site Scripting (XSS) vulnerability in generateNavigation() function

- Severity: Medium 5.1
- Published: Jan 20, 2025
- Affected: through 1.8.2.

### [CVE-2024-56412](https://cve.now/CVE-2024-56412): PhpSpreadsheet vulnerable to bypass of the XSS sanitizer using the javascript protocol and special characters

- Severity: Medium 4.8
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56411](https://cve.now/CVE-2024-56411): PhpSpreadsheet has Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page header

- Severity: Medium 4.8
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56410](https://cve.now/CVE-2024-56410): PhpSpreadsheet has Cross-Site Scripting (XSS) vulnerability in custom properties

- Severity: Medium 4.8
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56409](https://cve.now/CVE-2024-56409): PhpSpreadsheet vulnerable to unauthorized reflected XSS in Currency.php file

- Severity: High 8.3
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56366](https://cve.now/CVE-2024-56366): PhpSpreadsheet vulnerable to unauthorized reflected XSS in the Accounting.php file

- Severity: High 8.3
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56365](https://cve.now/CVE-2024-56365): PhpSpreadsheet vulnerable to unauthorized reflected XSS in the constructor of the Downloader class

- Severity: High 8.3
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-56408](https://cve.now/CVE-2024-56408): PhpSpreadsheet allows unauthorized reflected XSS in \`Convert-Online.php\` file

- Severity: High 8.3
- Published: Jan 3, 2025
- Affected: through 1.8.2.

### [CVE-2024-48917](https://cve.now/CVE-2024-48917): XXE in PHPSpreadsheet's XLSX reader

- Severity: High 7.5
- Published: Nov 18, 2024
- Affected: through 1.8.2.

### [CVE-2024-47873](https://cve.now/CVE-2024-47873): PhpSpreadsheet XmlScanner bypass leads to XXE

- Severity: High 7.5
- Published: Nov 18, 2024
- Affected: through 1.8.2.

### [CVE-2024-45060](https://cve.now/CVE-2024-45060): Unauthenticated Cross-Site-Scripting (XSS) in sample file in PHPSpreadsheet

- Severity: High 7.1
- Published: Oct 7, 2024
- Affected: through 1.8.2.

### [CVE-2024-45290](https://cve.now/CVE-2024-45290): Path traversal and Server-Side Request Forgery when opening XLSX files in PHPSpreadsheet

- Severity: High 7.7
- Published: Oct 7, 2024
- Affected: through 1.8.2.

### [CVE-2024-45291](https://cve.now/CVE-2024-45291): Path traversal and Server-Side Request Forgery in HTML writer when embedding images is enabled in PHPSpreadsheet

- Severity: Medium 6.3
- Published: Oct 7, 2024
- Affected: through 1.8.2.

### [CVE-2024-45292](https://cve.now/CVE-2024-45292): PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks

- Severity: Medium 5.4
- Published: Oct 7, 2024
- Affected: through 1.8.2.

### [CVE-2024-45293](https://cve.now/CVE-2024-45293): XML External Entity Reference (XXE) in PHPSpreadsheet's XLSX reader

- Severity: High 7.5
- Published: Oct 7, 2024
- Affected: through 1.8.2.

### [CVE-2024-45046](https://cve.now/CVE-2024-45046): PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style information

- Severity: Medium 5.4
- Published: Aug 28, 2024
- Affected: through 1.8.2.

### [CVE-2024-45048](https://cve.now/CVE-2024-45048): XML External Entity Reference (XXE) in PHPSpreadsheet

- Severity: High 8.8
- Published: Aug 28, 2024
- Affected: through 1.8.2.

### [CVE-2020-7776](https://cve.now/CVE-2020-7776): Cross-site Scripting (XSS)

- Severity: High 7.1
- Published: Dec 9, 2020
- Affected: through 1.8.2.

### [CVE-2019-12331](https://cve.now/CVE-2019-12331): PHPOffice PhpSpreadsheet before 1.8.0 has an XXE issue.

- Severity: Unrated
- Published: Nov 7, 2019
- Affected: through 1.8.2.

### [CVE-2018-19277](https://cve.now/CVE-2018-19277): securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file

- Severity: Unrated
- Published: Nov 14, 2018
- Affected: fixed in 1.8.2.

### [CVE-2014-2054](https://cve.now/CVE-2014-2054): PHPExcel before 1.8.0, as used in ownCloud Server before 5.0.15 and 6.0.x before 6.0.2, does not disable external entity loading in…

- Severity: Unrated
- Published: Jun 4, 2014
- Affected: fixed in 1.8.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/packagist/phpoffice/phpexcel
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
