hoch7.1
CVE-2020-7776
This affects the package phpoffice/phpspreadsheet from 0.0.0.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | phpoffice/phpspreadsheet | < 1.16.0 | 1.16.0 |
| composer | phpoffice/phpexcel | <= 1.8.2 | nicht erfasst |
Betroffene Produkte · Phpoffice
| Produkt | Betroffene Versionen |
|---|---|
| Phpspreadsheet | vor 1.16.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Writer/Html.php%23L1792
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59abc957a98845
- https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856
- https://github.com/advisories/GHSA-4mqv-gcr3-pff9
- https://nvd.nist.gov/vuln/detail/CVE-2020-7776
- https://github.com/PHPOffice/PhpSpreadsheet/pull/1719
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2020-7776.yaml