Files
CVEs-PoC/2020/CVE-2020-7776.md
T
2024-06-18 02:51:15 +02:00

18 lines
959 B
Markdown

### [CVE-2020-7776](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7776)
![](https://img.shields.io/static/v1?label=Product&message=phpoffice%2Fphpspreadsheet&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200.0.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856
#### Github
No PoCs found on GitHub currently.