ADVISORIES

GitHub Advisory Database

GHSA-4mqv-gcr3-pff9

Cross-site scripting in phpoffice/phpspreadsheet

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistphpoffice/phpspreadsheet
All versions before 1.16.0 (fixed in 1.16.0)
Packagistphpoffice/phpexcel
All versions up to and including 1.8.2

References