CVE-2025-22131

Cross-Site Scripting (XSS) vulnerability in generateNavigation() function

State
Published
Severity
5.1 Medium
Published
Jan 20, 2025
Updated
Jan 21, 2025
Reserved
Dec 30, 2024

Read the record on cve.org

Description

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Cross-Site Scripting (XSS) vulnerability in the code which translates the XLSX file into a HTML representation and displays it in the response.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/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.8.0Affected
  • >= 2.2.0, < 2.3.6Affected
  • >= 2.0.0, < 2.1.7Affected
  • < 1.29.8Affected

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.