CVE-2025-23210

Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet

State
Published
Severity
4.8 Medium
Published
Feb 3, 2025
Updated
Feb 4, 2025
Reserved
Jan 13, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
PhpSpreadsheetPHPOffice
  • >= 3.0.0, < 3.9.0Affected
  • >= 2.2.0, < 2.3.7Affected
  • >= 2.0.0, < 2.1.8Affected
  • < 1.29.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.