CVE-2025-23210

Medium

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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductPhpoffice/phpspreadsheet
PublishedFeb 3, 2025
First seenFeb 3, 2025

How to fix

Update
  • phpoffice/phpspreadsheet3.9.0, 1.29.9, 2.3.7, 2.1.8 or later

Affected products

ProductAffected versionsFixed in
phpoffice/phpspreadsheetPackagist3.0.0 ≤ v < 3.9.0, v < 1.29.9, 2.2.0 ≤ v < 2.3.7, 2.0.0 ≤ v < 2.1.83.9.0, 1.29.9, 2.3.7, 2.1.8
phpoffice/phpexcelPackagistv ≤ 1.8.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-23210 · Phpoffice/phpspreadsheet · Dark Radar