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. There are no known workarounds for this vulnerability.
References
| Link | Resource |
|---|---|
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r8w8-74ww-j4wh | Exploit Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
07 Mar 2025, 16:48
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Phpoffice
Phpoffice phpspreadsheet |
|
| CPE | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | |
| References | () https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r8w8-74ww-j4wh - Exploit, Vendor Advisory |
Information
Published : 2024-10-07 20:15
Updated : 2025-03-07 16:48
NVD link : CVE-2024-45292
Mitre link : CVE-2024-45292
CVE.ORG link : CVE-2024-45292
JSON object : View
Products Affected
phpoffice
- phpspreadsheet
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
