Skip to content

CVE-2020-7776 Cross-site Scripting (XSS)

MediumCVSS 6.4 EPSS 1.3% PoC
Published
Updated
Exploit status
Proof-of-concept only

Description

This affects the package phpoffice/phpspreadsheet from 0.0.0. 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. A fix for this issue is available on commit 0ed5b800be2136bcb8fa9c1bdf59abc957a98845/master branch.

Affected products

ProductAffected versionsFixed in
phpoffice/phpspreadsheet(Packagist) < 1.16.0 1.16.0
phpoffice/phpspreadsheet(Packagist) = 1.0.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.0.0-beta No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.0.0-beta2 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.1.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.10.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.10.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.11.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.12.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.13.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.14.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.14.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.15.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.2.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.2.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.3.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.3.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.4.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.4.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.5.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.5.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.5.2 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.6.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.7.0 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.8.0 No fix listed
Show 14 more
ProductAffected versionsFixed in
phpoffice/phpspreadsheet(Packagist) = 1.8.1 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.8.2 No fix listed
phpoffice/phpspreadsheet(Packagist) = 1.9.0 No fix listed
phpoffice/phpexcel(Packagist) <= 1.8.2 No fix listed
phpoffice/phpexcel(Packagist) = 1.7.9 No fix listed
phpoffice/phpexcel(Packagist) = 1.7.9-rc1 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.0 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.0rc1 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.0rc2 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.0rc3 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.0rc4 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.1 No fix listed
phpoffice/phpexcel(Packagist) = 1.8.2 No fix listed
phpoffice/phpspreadsheet < 1.16.0 1.16.0

References