GHSA-v66g-p9x6-v98p · Severity: medium · Ecosystem: composer — PhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample file
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. One of the sample scripts in PhpSpreadsheet is susceptible to a cross-site scripting (XSS) vulnerability due to improper handling of input where a number is expected leading to formula injection. The code in in `45_Quadratic_equation_solver.php` concatenates the user supplied parameters directly into spreadsheet formulas. This allows an attacker to take control over the formula and output unsanitized data into the page, resulting in JavaScript execution. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Conclusion & alert: CVE-2024-45060 is rated Exploit Available (55.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.47%). 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-06-15 | 1.27% | 0.47% | -0.81% |
| 2 | 2026-03-04 | 0.78% | 1.27% | +0.49% |
| 3 | 2026-03-01 | — | 0.78% | — |
Full EPSS history (15 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 3.1 | HIGH |
|
2.8 | 4.2 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-v66g-p9x6-v98p · Severity: medium · Ecosystem: composer — PhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample file
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| phpoffice | phpspreadsheet | < 1.29.2 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 2.0.0, < 2.1.1 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 2.2.0, < 2.3.0 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/PHPOffice/PhpSpreadsheet/blob/d50b8b5de7e30439fb57eae7df9ea90e79fa0f2d/samples/Basic/45_Quadratic_equation_solver.php#L56 | Product |
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-v66g-p9x6-v98p | Exploit Mitigation Third Party Advisory |