Skip to main content
MEDIUM

CVE-2020-7776

CVSS v3

6.4

MEDIUM

EPSS Score

1.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for phpoffice/phpspreadsheet.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • phpoffice/phpexcelPackagistall versions · no fixed version listed
  • phpoffice/phpspreadsheetPackagistall versions · fixed in 1.16.0

Full record on NVD

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.

Technical details

Published
2020-12-09

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-10-19, 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).

Running phpoffice/phpspreadsheet? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month