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 session of a user viewing spreadsheet files as HTML. This issue has been addressed in release version 2.1.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Metrics
Affected Vendors & Products
References
History
Wed, 04 Sep 2024 18:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Phpoffice
Phpoffice phpspreadsheet |
|
CPEs | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | |
Vendors & Products |
Phpoffice
Phpoffice phpspreadsheet |
Thu, 29 Aug 2024 20:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Phpspreadsheet Project
Phpspreadsheet Project phpspreadsheet |
|
CPEs | cpe:2.3:a:phpspreadsheet_project:phpspreadsheet:*:*:*:*:*:*:*:* | |
Vendors & Products |
Phpspreadsheet Project
Phpspreadsheet Project phpspreadsheet |
|
Metrics |
ssvc
|
Wed, 28 Aug 2024 21:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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 session of a user viewing spreadsheet files as HTML. This issue has been addressed in release version 2.1.0. All users are advised to upgrade. There are no known workarounds for this vulnerability. | |
Title | PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style information | |
Weaknesses | CWE-79 | |
References |
| |
Metrics |
cvssV3_1
|
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-08-28T20:41:23.628Z
Updated: 2024-08-29T13:11:25.969Z
Reserved: 2024-08-21T17:53:51.331Z
Link: CVE-2024-45046
Vulnrichment
Updated: 2024-08-29T13:11:22.329Z
NVD
Status : Analyzed
Published: 2024-08-28T21:15:06.603
Modified: 2024-09-04T17:32:51.960
Link: CVE-2024-45046
Redhat
No data.