CVE-2020-7776
MEDIUM6.4EPSS 0.34%Cross-site scripting in phpoffice/phpspreadsheet
發布日:2021/5/6修改日:2026/3/13
描述
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.
受影響套件(2)
- Packagist/phpoffice/phpexcelfrom 0, <= 1.8.2
- Packagist/phpoffice/phpspreadsheetfrom 0, < 1.16.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-7776
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2020-7776.yaml
- WEBhttps://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Writer/Html.php%23L1792
- WEBhttps://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59abc957a98845
- WEBhttps://github.com/PHPOffice/PhpSpreadsheet/pull/1719
- WEBhttps://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856