NetSight
high7.1

CVE-2020-7776

Cross-site scripting in phpoffice/phpspreadsheet

Impact

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

EcosystemPackageAffectedFixed in
composerphpoffice/phpspreadsheet< 1.16.01.16.0
composerphpoffice/phpexcel<= 1.8.2none recorded

Affected products

VendorProductAffected versions
PhpofficePhpspreadsheet
before 1.16.0

Weakness classification

References