# CVE-2025-23210: Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 52% of CVEs (2026-11-30)
- Published: 2025-02-03T15:39:31.000Z
- Modified: 2026-06-17T08:52:39.970Z
- Also known as: GHSA-r57h-547h-w24f
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- PHPOffice PhpSpreadsheet: >= 3.0.0, < 3.9.0; >= 2.2.0, < 2.3.7; >= 2.0.0, < 2.1.8; < 1.29.9
- phpoffice/phpspreadsheet (Packagist): from 3.0.0 before 3.9.0; before 1.29.9; from 2.2.0 before 2.3.7; from 2.0.0 before 2.1.8
- phpoffice/phpexcel (Packagist): up to 1.8.2

## Every score

- GitHub_M: CVSS:4.0 4.8 Medium `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`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-r57h-547h-w24f> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/cde2926a9e2baf146783f8fd1771bbed7d1dc7b3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-23210> (advisory)
- <https://github.com/PHPOffice/PhpSpreadsheet> (package)

## Sources

- CVE List: [CVE-2025-23210](https://www.cve.org/CVERecord?id=CVE-2025-23210), CVE Terms of Use, modified 2025-02-04
- GitHub Advisory Database: [GHSA-r57h-547h-w24f](https://github.com/advisories/GHSA-r57h-547h-w24f), CC-BY-4.0, modified 2025-03-06
- NVD: [CVE-2025-23210](https://nvd.nist.gov/vuln/detail/CVE-2025-23210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-23210 · Whole record: https://cve.day/CVE-2025-23210.json · Rebuilt by cve.day 2026-11-25T22:58:53.758Z
