Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpoffice | Phpspreadsheet | < 1.16.0 |
Related Weaknesses (CWE)
References
- https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/WriteBroken Link
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59aPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856ExploitThird Party Advisory
- https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/WriteBroken Link
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59aPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856ExploitThird Party Advisory
FAQ
What is CVE-2020-7776?
CVE-2020-7776 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 i...
How severe is CVE-2020-7776?
CVE-2020-7776 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7776?
Check the references section above for vendor advisories and patch information. Affected products include: Phpoffice Phpspreadsheet.