CVE Explorer
CVE-2026-59931
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In versions 4.0.0 through 5.8.0, 3.3.0 through 3.10.6, 2.2.0 through 2.4.6, 2.0.0 through 2.1.17, and all releases up to and including 1.30.5, the WEBSERVICE() domain whitelist can be bypassed via an HTTP redirect (SSRF). In Calculation/Web/Service.php, the webService() method validates a URL's host against the whitelist set via Spreadsheet::setDomainWhiteList(), then fetches content with file_get_contents($url, fals
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"PhpSpreadsheet","vendor":"PHPOffice","versions":[{"status":"affected","version":">= 4.0.0, < 5.8.1"},{"status":"affected","version":">= 3.3.0, < 3.10.7"},{"status":"affected","version":">= 2.2.0, < 2.4.7"},{"status":"affected","version":">= 2.0.0, < 2.1.18"},{"status":"affected","version":"< 1.30.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"name":"https://github.com/PHPOffice/PhpSpreadsheet/commit/7ef7b25e8548a6ded79dac74e2e2c7acdac38d8d","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/7ef7b25e8548a6ded79dac74e2e2c7acdac38d8d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/1
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/2
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.18","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.18"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/3
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.7","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/4
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.7","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/5
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.1","tags":["x_refsource_MISC"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/6
{"name":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-6hq5-7373-42rg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-6hq5-7373-42rg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-6hq5-7373-42rg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f45b0187be7a45dc84babba285798b9561a359e44143da7e0f10632f855e8674 · sha256:91856a6e7851029e… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.