Security mailing lists by PureSourceCode

CVE-2025-22131

MEDIUM 5.1CVSS 4.0

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

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
20 Jan 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-79xx-vf93-p7cx
Sources
NVDJSONOSV GHSA-79xx-vf93-p7cxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phpoffice phpspreadsheet
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
< 1.29.8 1.29.8
NVD phpoffice phpspreadsheet
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.1.7 2.1.7
NVD phpoffice phpspreadsheet
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.3.6 2.3.6
NVD phpoffice phpspreadsheet
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.8.0 3.8.0
OSV Packagist phpoffice/phpspreadsheet >= 3.0.0, < 3.8.0 3.8.0
OSV Packagist phpoffice/phpspreadsheet < 1.29.8 1.29.8
OSV Packagist phpoffice/phpspreadsheet >= 2.0.0, < 2.1.7 2.1.7
OSV Packagist phpoffice/phpspreadsheet >= 2.2.0, < 2.3.6 2.3.6
OSV Packagist phpoffice/phpexcel <= 1.8.2

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Jan 2025)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.