Cross-site Scripting (XSS)
Published Dec 9, 2020
7.1
HIGHCVSS 3.1
EPSS 1.32%
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 products
- Vendor n/a Product Phpoffice/phpspreadsheet Defaultn/a
- Version 0.0.0StatusaffectedConstraints<unspecified
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Phpoffice/phpspreadsheet | n/a |
|
- < 1.16.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:P/RL:O/RC:C
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.32% (0.01317) | 69.80th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.32% (0.01317) | 69.51th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.06% (0.00062) | 26.90th | v3 (v2023.03.01) |
| Jun 11, 2024 | 0.06% (0.00062) | 26.26th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00062) | 24.23th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00890) | 26.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.37% (0.05372) | 76.24th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.63% (0.03630) | 71.73th | v1 |
| Jan 6, 2022 | 3.63% (0.03630) | 71.48th | v1 |
| Jan 5, 2022 | 0.83% (0.00833) | 58.90th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2020-7776.yaml
- https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Writer/Html.php%23L1792 x_refsource_MISCBroken Link
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59abc957a98845 x_refsource_MISCPatchThird Party Advisory
- https://github.com/PHPOffice/PhpSpreadsheet/pull/1719
- https://github.com/advisories/GHSA-4mqv-gcr3-pff9 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7776
- https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2020-7776.yaml | ||
| https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Writer/Html.php%23L1792 | x_refsource_MISCBroken Link | |
| https://github.com/PHPOffice/PhpSpreadsheet/commit/0ed5b800be2136bcb8fa9c1bdf59abc957a98845 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/PHPOffice/PhpSpreadsheet/pull/1719 | ||
| https://github.com/advisories/GHSA-4mqv-gcr3-pff9 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7776 | ||
| https://snyk.io/vuln/SNYK-PHP-PHPOFFICEPHPSPREADSHEET-1048856 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.