// For flags

CVE-2024-45292

PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks

Severity Score

5.4
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
Poc
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2024-08-26 CVE Reserved
  • 2024-10-07 CVE Published
  • 2024-10-07 CVE Updated
  • 2024-10-08 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
PHPOffice
Search vendor "PHPOffice"
PhpSpreadsheet
Search vendor "PHPOffice" for product "PhpSpreadsheet"
< 1.29.2
Search vendor "PHPOffice" for product "PhpSpreadsheet" and version " < 1.29.2"
en
Affected
PHPOffice
Search vendor "PHPOffice"
PhpSpreadsheet
Search vendor "PHPOffice" for product "PhpSpreadsheet"
>= 2.0.0 < 2.1.1
Search vendor "PHPOffice" for product "PhpSpreadsheet" and version " >= 2.0.0 < 2.1.1"
en
Affected
PHPOffice
Search vendor "PHPOffice"
PhpSpreadsheet
Search vendor "PHPOffice" for product "PhpSpreadsheet"
>= 2.2.0 < 2.3.0
Search vendor "PHPOffice" for product "PhpSpreadsheet" and version " >= 2.2.0 < 2.3.0"
en
Affected