Cross-site scripting in phpoffice/phpspreadsheet
Moderate severity
GitHub Reviewed
Published
May 6, 2021
to the GitHub Advisory Database
•
Updated Feb 2, 2024
Description
Published by the National Vulnerability Database
Dec 9, 2020
Reviewed
Apr 9, 2021
Published to the GitHub Advisory Database
May 6, 2021
Last updated
Feb 2, 2024
This affects the package phpoffice/phpspreadsheet. The library is vulnerable to XSS when creating an html output from an excel file by adding a comment on any cell. The root cause of this issue is within the HTML writer where user comments are concatenated as part of link and this is returned as HTML.
References