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
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* 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
References (1)
URL | Tag | Source |
---|---|---|
https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r8w8-74ww-j4wh | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
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
|