Security mailing lists by PureSourceCode

CVE-2020-7776

MEDIUM 6.4CVSS 3.1

Cross-site scripting in phpoffice/phpspreadsheet

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.

Published
9 Dec 2020
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-4mqv-gcr3-pff9SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856
Sources
NVDJSONOSV GHSA-4mqv-gcr3-pff9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phpoffice phpspreadsheet
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
< 1.16.0 1.16.0
OSV Packagist phpoffice/phpspreadsheet < 1.16.0 1.16.0
OSV Packagist phpoffice/phpexcel <= 1.8.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Dec 2020)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.