CVE-2020-7776
Summary
| CVE | CVE-2020-7776 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-12-09 17:15:00 UTC |
| Updated | 2021-01-19 17:27:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Phpspreadsheet Project | Phpspreadsheet | All | All | All | All |
| Application | Phpspreadsheet Project | Phpspreadsheet | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Write... | MISC | github.com | Broken Link |
| Cross-site Scripting (XSS) in phpoffice/phpspreadsheet | Snyk | MISC | snyk.io | Exploit, Third Party Advisory |
| Resolve XSS Vulnerability in the HTML Writer (#1719) · PHPOffice/PhpSpreadsheet@0ed5b80 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| PhpSpreadsheet/Html.php at master · PHPOffice/PhpSpreadsheet · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Nikkolai Fernandez
There are currently no legacy QID mappings associated with this CVE.