Phpoffice Phpspreadsheet vulnerabilities
35 known vulnerabilities affecting phpoffice/phpspreadsheet.
Total CVEs
35
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH16MEDIUM17
Vulnerabilities
Page 2 of 2
CVE-2020-7776P4MEDIUMCVSS 6.4fixed in 1.16.0≥ 0.0.0, < unspecified2020-12-09
CVE-2020-7776 [MEDIUM] CWE-79 CVE-2020-7776: This affects the package phpoffice/phpspreadsheet from 0.0.0. The library is vulnerable to XSS when
This affects the package phpoffice/phpspreadsheet from 0.0.0. The library is vulnerable to XSS when creating an html output from an excel file by adding a comment on any cell. The root cause of this issue is within the HTML writer where user comments are concatenated as part of link and this is returned as HTML. A fix for this issue is available on comm
ghsanvdosv
CVE-2026-35453P4MEDIUMCVSS 5.4fixed in 1.30.4≥ 2.0.0, < 2.1.16+8 more2026-05-05
CVE-2026-35453 [MEDIUM] CWE-79 CVE-2026-35453: PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.3 and earlie
PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.3 and earlier, 2.0.0 through 2.1.15, 2.2.0 through 2.4.4, 3.3.0 through 3.10.4, and 4.0.0 through 5.6.0, the HTML Writer skips htmlspecialchars() output escaping when a cell uses a custom number format containing the @ text placeholder with additional literal text
ghsanvd
CVE-2024-45060P4MEDIUMCVSS 6.1fixed in 1.29.2≥ 2.0.0, < 2.1.1+3 more2024-10-07
CVE-2024-45060 [MEDIUM] CWE-79 CVE-2024-45060: PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. One of the sample sc
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. One of the sample scripts in PhpSpreadsheet is susceptible to a cross-site scripting (XSS) vulnerability due to improper handling of input where a number is expected leading to formula injection. The code in in `45_Quadratic_equation_solver.php` concatenates the user supp
ghsanvdosv
CVE-2024-45046P4MEDIUMCVSS 5.4fixed in 1.29.1≥ 2.0.0, < 2.1.0+1 more2024-08-28
CVE-2024-45046 [MEDIUM] CWE-79 CVE-2024-45046: PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In affected versions
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In affected versions `\PhpOffice\PhpSpreadsheet\Writer\Html` doesn't sanitize spreadsheet styling information such as font names, allowing an attacker to inject arbitrary JavaScript on the page. As a result an attacker may used a crafted spreadsheet to fully takeover a se
ghsanvdosv
CVE-2024-56408P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56408 [MEDIUM] CWE-79 CVE-2024-56408: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 have no sanitization in the `/vendor/phpoffice/phpspreadsheet/samples/Engineering/Convert-Online.php` file, which leads to the possibility of a cross-site scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patc
ghsanvdosv
CVE-2024-56366P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56366 [MEDIUM] CWE-79 CVE-2024-56366: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the `Accounting.php` file. Using the `/vendor/phpoffice/phpspreadsheet/samples/Wizards/NumberFormat/Accounting.php` script, an attacker can perform a cross-site sc
ghsanvdosv
CVE-2024-56409P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56409 [MEDIUM] CWE-79 CVE-2024-56409: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the `Currency.php` file. Using the `/vendor/phpoffice/phpspreadsheet/samples/Wizards/NumberFormat/Currency.php` script, an attacker can perform a cross-site script
ghsanvdosv
CVE-2026-40296P4MEDIUMCVSS 5.4fixed in 1.30.4≥ 2.0.0, < 2.1.16+8 more2026-05-06
CVE-2026-40296 [MEDIUM] CWE-79 CVE-2026-40296: PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. The HTML writer skip
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. The HTML writer skips htmlspecialchars escaping when a cell's formatted value differs from the original value. When a cell has a custom number format containing the text placeholder @ along with any additional literal characters (for example ". @", "@ ", or "x@"), the for
ghsanvd
CVE-2024-56412P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56412 [MEDIUM] CWE-79 CVE-2024-56412: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to bypass of the cross-site scripting sanitizer using the javascript protocol and special characters. An attacker can use special characters, so that the library processes the javascript protocol with special char
ghsanvdosv
CVE-2024-56410P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56410 [MEDIUM] CWE-79 CVE-2024-56410: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 have a cross-site scripting (XSS) vulnerability in custom properties. The HTML page is generated without clearing custom properties. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.
ghsanvdosv
CVE-2024-56365P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56365 [MEDIUM] CWE-79 CVE-2024-56365: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the constructor of the `Downloader` class. Using the `/vendor/phpoffice/phpspreadsheet/samples/download.php` script, an attacker can perform a cross-site scripting
ghsanvdosv
CVE-2024-56411P4MEDIUMCVSS 5.4fixed in 1.29.7≥ 2.0.0, < 2.1.6+5 more2025-01-03
CVE-2024-56411 [MEDIUM] CWE-79 CVE-2024-56411: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0,
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 have a cross-site scripting (XSS) vulnerability of the hyperlink base in the HTML page header. The HTML page is formed without sanitizing the hyperlink base. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue
ghsanvdosv
CVE-2024-45292P4MEDIUMCVSS 5.4fixed in 1.29.2≥ 2.0.0, < 2.1.1+3 more2024-10-07
CVE-2024-45292 [MEDIUM] CWE-79 CVE-2024-45292: PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. `\PhpOffice\PhpSprea
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. `\PhpOffice\PhpSpreadsheet\Writer\Html` does not sanitize "javascript:" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade.
ghsanvdosv
CVE-2025-22131P4MEDIUMCVSS 6.1fixed in 1.29.8≥ 2.0.0, < 2.1.7+5 more2025-01-20
CVE-2025-22131 [MEDIUM] CWE-79 CVE-2025-22131: PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Cross-Site Scripting (XSS
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Cross-Site Scripting (XSS) vulnerability in the code which translates the XLSX file into a HTML representation and displays it in the response.
ghsanvdosv
CVE-2025-23210P4MEDIUMCVSS 4.8v>= 3.0.0, < 3.9.0v>= 2.2.0, < 2.3.7+2 more2025-02-03
CVE-2025-23210 [MEDIUM] CWE-79 CVE-2025-23210: phpoffice/phpspreadsheet is a pure PHP library for reading and writing spreadsheet files. Affected v
phpoffice/phpspreadsheet is a pure PHP library for reading and writing spreadsheet files. Affected versions have been found to have a Bypass of the Cross-site Scripting (XSS) sanitizer using the javascript protocol and special characters. This issue has been addressed in versions 3.9.0, 2.3.7, 2.1.8, and 1.29.9. Users are advised to upgrade. There ar
ghsanvdosv
← Previous2 / 2