> CVE-2024-45060 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-10-07 21:15
MODIFIED
2024-10-17 14:14
CVSS_SCORE V3
7.1
EPSS (Prob. Exploit)
0.51%
Top 57.5%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-11

> DESCRIPTION

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. One of the sample scripts in PhpSpreadsheet is susceptible to a cross-site scripting (XSS) vulnerability due to improper handling of input where a number is expected leading to formula injection. The code in in `45_Quadratic_equation_solver.php` concatenates the user supplied parameters directly into spreadsheet formulas. This allows an attacker to take control over the formula and output unsanitized data into the page, resulting in JavaScript execution. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

> AFFECTED_PRODUCTS

Phpoffice - Phpspreadsheet
< 1.29.2
Phpoffice - Phpspreadsheet
>= 2.0.0 < 2.1.1
Phpoffice - Phpspreadsheet
>= 2.2.0 < 2.3.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-v66g-p9x6-v98p MODERATE

PhpSpreadsheet has an Unauthenticated Cross-Site-Scripting (XSS) in sample file

AFFECTED PACKAGES:
COMPOSER / phpoffice/phpexcel
<= 1.8.2
COMPOSER / phpoffice/phpspreadsheet
>= 2.0.0, < 2.1.1
Fixed in: 2.1.1
COMPOSER / phpoffice/phpspreadsheet
< 1.29.2
Fixed in: 1.29.2
COMPOSER / phpoffice/phpspreadsheet
>= 2.2.0, < 2.3.0
Fixed in: 2.3.0

> HISTORIQUE DES MODIFICATIONS

Première apparition
07/10/2024 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:55
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME