← Back

CVE-2024-45046

nvd nist
Published: Aug 28, 2024Modified: Sep 4, 2024

JSON object

Loading...
5.4
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.3 / Impact: 2.7
Source: NVD

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.

Affected (2)

1 product
Phpspreadsheet
Configuration A
2 vulnerable
Vulnerable SoftwareAffected Versions
Phpoffice
Before 1.29.1
From 2.0.0 to 2.1.0

References (3)

Source: security-advisories@github.com
Issue TrackingPatch
Source: security-advisories@github.com
ExploitThird Party Advisory

Timeline

No history available yet.