Skip to main content
No exploitation reportedFix available

CVE-2020-7776

No exploitation reported by the sources we read.

  • Published2020-12-09
  • Fixed in1.16.0
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-12-0917:15CVE publishedNVD

Versions per branch

NVD · OSV
Phpoffice phpspreadsheet
BranchAffectedFixed in
1.16< 1.16.01.16.0
phpoffice/phpexcel
BranchAffectedFixed in
1.8≤ 1.8.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Phpoffice phpspreadsheet to 1.16.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.1known since 2026-10-23
  • NVDCVSS 3.16.4read 2026-10-23
  • NVDCVSS 2.03.5read 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2021-04-09

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Published
2020-12-09
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-4mqv-gcr3-pff9

Frequently asked questions

What is 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.

Is CVE-2020-7776 actively exploited?

Active exploitation of CVE-2020-7776 has not been confirmed. Its EPSS score was 1.3% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7776?

CVE-2020-7776 has a CVSS v3 base score of 6.4 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

Running phpoffice/phpspreadsheet? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record