SB2024100605 - Multiple vulnerabilities in PhpSpreadsheet
Published: October 6, 2024 Updated: October 13, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Absolute Path Traversal (CVE-ID: CVE-2024-45290)
CWE-ID: CWE-36 - Absolute Path Traversal
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to absolute path traversal in the XLSX file reader when opening XLSX files. A remote user can supply a specially crafted XLSX file to disclose sensitive information.
2) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2024-45291)
CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)
CVSSv4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N]
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to server-side request forgery in the HTML writer when embedding images is enabled. A remote user can supply an image reference that triggers a server-side request to disclose sensitive information.
3) Cross-site scripting (CVE-ID: CVE-2024-45292)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
The vulnerability allows a remote user to execute arbitrary JavaScript in a victim's browser.
The vulnerability exists due to cross-site scripting in the PhpSpreadsheet HTML writer when rendering JavaScript hyperlinks. A remote user can supply a JavaScript hyperlink to execute arbitrary JavaScript in a victim's browser.
Exploitation requires user interaction.
4) Cross-site scripting (CVE-ID: CVE-2024-45060)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
The vulnerability allows a remote attacker to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in a sample file when handling attacker-controlled input. A remote attacker can supply specially crafted input to execute arbitrary script in a victim's browser.
Exploitation requires user interaction.
Remediation
Install update from vendor's website.
References
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-5gpr-w2p5-6m37
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-w9xv-qf98-ccq4
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r8w8-74ww-j4wh
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-v66g-p9x6-v98p