All reports
Medium

Cross-site scripting in phpoffice/phpspreadsheet

Affected versions

Affected versions
<= 1.8.2
Fixed version
Not reported
Affected versions
< 1.16.0
Fixed version
1.16.0

Exploitation

CVE-2020-7776

Probability of exploitation in the next 30 days: 1.32%

FIRST EPSS · 2026-11-23

Description

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.

Links