CVE-2024-45292
CVSS 3.1 Score 5.4 of 10 (medium)
Details
Published Oct 7, 2024
Updated: Mar 7, 2025
CWE ID 79
Summary
CVE-2024-45292 is a Cross-Site Scripting (XSS) vulnerability affecting the `\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` component of PHPSpreadsheet, a popular PHP library for handling spreadsheet files. The issue lies in the lack of sanitization for "javascript:" URLs in hyperlink `href` attributes, enabling attackers to inject malicious scripts into users' web browsers. This vulnerability has been mitigated in versions 1.29.2, 2.1.1, and 2.3.0, and users are strongly encouraged to upgrade as soon as possible. No known workarounds exist for this issue.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Products
- PHPOffice PhpSpreadsheet
Affected Vendors
- .php/ Office