### [CVE-2024-45292](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45292) ![](https://img.shields.io/static/v1?label=Product&message=PhpSpreadsheet&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%201.29.2%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%202.0.0%2C%20%3C%202.1.1%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%202.2.0%2C%20%3C%202.3.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=2.0.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=2.2.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brightgreen) ### Description 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. ### POC #### Reference - https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r8w8-74ww-j4wh #### Github No PoCs found on GitHub currently.