GHSA-q9jv-mm3r-j47r · Severity: medium · Ecosystem: composer — PhpSpreadsheet allows bypass XSS sanitizer using the javascript protocol and special characters
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to bypass of the cross-site scripting sanitizer using the javascript protocol and special characters. An attacker can use special characters, so that the library processes the javascript protocol with special characters and generates an HTML link. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.
Conclusion & alert: CVE-2024-56412 is rated Exploit Available (53.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.31%). 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-05-25 | 0.23% | 0.31% | +0.08% |
| 2 | 2026-04-14 | 0.30% | 0.23% | -0.07% |
| 3 | 2026-02-12 | — | 0.30% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.8 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
GHSA-q9jv-mm3r-j47r · Severity: medium · Ecosystem: composer — PhpSpreadsheet allows bypass XSS sanitizer using the javascript protocol and special characters
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| phpoffice | phpspreadsheet | < 1.29.7 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 2.0.0, < 2.1.6 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 2.2.0, < 2.3.5 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
| phpoffice | phpspreadsheet | >= 3.0.0, < 3.7.0 | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |