GHSA-wgmf-q9vr-vww6 · Severity: medium · Ecosystem: composer — PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style information
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In affected versions `\PhpOffice\PhpSpreadsheet\Writer\Html` doesn't sanitize spreadsheet styling information such as font names, allowing an attacker to inject arbitrary JavaScript on the page. As a result an attacker may used a crafted spreadsheet to fully takeover a session of a user viewing spreadsheet files as HTML. This issue has been addressed in release version 2.1.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Conclusion & alert: CVE-2024-45046 is rated Exploit Available (56.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.33%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-01 | 0.24% | 0.33% | +0.09% |
| 2 | 2026-02-07 | 0.33% | 0.24% | -0.09% |
| 3 | 2026-01-17 | — | 0.33% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
GHSA-wgmf-q9vr-vww6 · Severity: medium · Ecosystem: composer — PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via style information
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| phpoffice | phpspreadsheet | < 1.29.1 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 2.0.0, < 2.1.0 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/PHPOffice/PhpSpreadsheet/commit/f7cf378faed2e11cf4825bf8bafea4922ae44667 | Patch |
| https://github.com/PHPOffice/PhpSpreadsheet/pull/3957 | Issue Tracking Patch |
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-wgmf-q9vr-vww6 | Exploit Third Party Advisory |