{"id":"CVE-2025-22131","aliases":["GHSA-79xx-vf93-p7cx"],"url":"https://o3.security/vulnerability/CVE-2025-22131","summary":"Cross-Site Scripting (XSS) vulnerability in generateNavigation() function","details":"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.","published":"2025-01-20T15:31:19.693Z","modified":"2026-08-08T03:31:33.093483473Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","fixedVersion":"3.8.0"},{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","fixedVersion":"1.29.8"},{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","fixedVersion":"2.1.7"},{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","fixedVersion":"2.3.6"},{"ecosystem":"Packagist","name":"phpoffice/phpexcel","fixedVersion":null}],"fix":{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/4088381ccfaf241d7d42c333de0dc8c98e338743","label":"PHPOffice/PhpSpreadsheet@4088381"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22131.json"},{"type":"ADVISORY","url":"https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-79xx-vf93-p7cx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22131"},{"type":"FIX","url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/4088381ccfaf241d7d42c333de0dc8c98e338743"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:31:33.093483473Z"}}