CVE-2025-23210 Details
Description
phpoffice/phpspreadsheet is a pure PHP library for reading and writing spreadsheet files. Affected versions have been found to have a Bypass of the Cross-site Scripting (XSS) sanitizer using the javascript protocol and special characters. This issue has been addressed in versions 3.9.0, 2.3.7, 2.1.8, and 1.29.9. Users are advised to upgrade. There are no known workarounds for this vulnerability.
A vulnerability in PHPOffice PhpSpreadsheet versions 3.0.0 prior to 3.9.0, 1.29.0 prior to 1.29.9, and 2.2.0 prior to 2.3.7, allows for a bypass of the Cross-site Scripting (XSS) sanitizer. This is achieved by using the javascript protocol in conjunction with special characters, which can lead to the execution of arbitrary JavaScript in the user's browser. The issue arises in the 'Html' writer component, specifically within the 'generateRow' method, when a user views a specially crafted XML file that exploits this vulnerability.
Users are advised to upgrade to PhpSpreadsheet versions 3.9.0, 1.29.9, 2.3.7, or 2.1.8.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 3, 2025CISA-ADP
Assessed Feb 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PHPOffice/PhpSpreadsheet/commit/cde2926a9e2baf146783f8fd1771bbed7d1dc7b3 | [email protected] | Source CodeVendor |
| https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r57h-547h-w24f | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PHPOffice PhpSpreadsheet | >= 3.0.0, < 3.9.0 (semver) < 1.29.9 (semver) >= 2.2.0, < 2.3.7 (semver) >= 2.0.0, < 2.1.8 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 3, 2025 | New CVE Received | [email protected] |
Volerion