Skip to main content
← All vulnerabilities
CVE-2025-22131GHSA-79XX-VF93-P7CX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.0, 2.3.6, 2.1.7, 1.29.8
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • PHPOffice PhpSpreadsheet

    From 3.0.0 · fixed in 3.8.0; From 2.2.0 · fixed in 2.3.6; From 2.0.0 · fixed in 2.1.7; fixed in 1.29.8

  • phpoffice/phpspreadsheetPackagist

    From 3.0.0 · fixed in 3.8.0

  • phpoffice/phpspreadsheetPackagist

    fixed in 1.29.8

  • phpoffice/phpspreadsheetPackagist

    From 2.0.0 · fixed in 2.1.7

  • phpoffice/phpspreadsheetPackagist

    From 2.2.0 · fixed in 2.3.6

  • phpoffice/phpexcelPackagist

    through 1.8.2

References 4

GitHub · PHPOffice/PhpSpreadsheet

GitHub · ZzN1NJ4/CVE-2025-22131-PoC

GitHub · s0ck37/CVE-2025-22131-POC