Vulnerability · Published Dec 9, 2020 · Assigned by snyk

CVE-2020-7776Cross-site Scripting (XSS)

High 7.1

In plain English

A high-severity security flaw in phpoffice/phpspreadsheet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)1.3%top 29.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistphpoffice/phpexcelno fix listedGHSA-4mqv-gcr3-pff9
Packagistphpoffice/phpspreadsheet1.16.0GHSA-4mqv-gcr3-pff9

Affected products (as reported)

VendorProductVersions
n/a phpoffice/phpspreadsheet 0.0.0 – before unspecified

References