CVE-2025-23210
published medium CVSS 4.0 · 4.8Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PHPOffice | — | PhpSpreadsheet>= 3.0.0, < 3.9.0 · >= 2.2.0, < 2.3.7 · >= 2.0.0, < 2.1.8 · < 1.29.9 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PHPOffice | PhpSpreadsheet | >= 3.0.0, < 3.9.0 (affected)>= 2.2.0, < 2.3.7 (affected)>= 2.0.0, < 2.1.8 (affected)< 1.29.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 552a8c14ed80c71b568674f421b63e6c7ec2241ead556d8129ea8a7a9b75b0f4
- Ingested
- 23 Sep 2026, 08:40:42 UTC
- Source record
- Official CVE record