XSS in Phpoffice Phpspreadsheet
CVE-2020-7776
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.013, 71.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Phpoffice Phpspreadsheet
- Phpoffice/phpspreadsheet — versions 0.0.0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856 (Exploit, Third Party Advisory)
- github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59abc957a9… (Patch, Third Party Advisory)
- github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Writer/Html… (Broken Link)