Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet
PHPOffice PhpSpreadsheet
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| phpoffice/phpspreadsheet Packagist |
|
|
PHPOffice PhpSpreadsheet
| Product | Affected | Fixed in |
|---|---|---|
| phpoffice/phpspreadsheet Packagist |
|
|
| phpoffice/phpexcel Packagist |
| No fix yet |
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 are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
Affected PhpSpreadsheet versions can have their cross-site scripting (XSS) sanitizer bypassed using the javascript protocol and special characters. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Teams using affected Packagist versions of phpoffice/phpspreadsheet (before 1.29.9, 2.0.0–before 2.1.8, 2.2.0–before 2.3.7, or 3.0.0–before 3.9.0) or phpoffice/phpexcel (through 1.8.2) should check their dependencies.