> CVE-2024-48917 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-11-18 20:15
MODIFIED
2025-03-07 17:07
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.73%
Top 46.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-04 OSV 🔗 2026-03-01

> DESCRIPTION

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. The `XmlScanner` class has a scan method which should prevent XXE attacks. However, in a bypass of the previously reported `CVE-2024-47873`, the regexes from the `findCharSet` method, which is used for determining the current encoding can be bypassed by using a payload in the encoding UTF-7, and adding at end of the file a comment with the value `encoding="UTF-8"` with `"`, which is matched by the first regex, so that `encoding='UTF-7'` with single quotes `'` in the XML header is not matched by the second regex. An attacker can bypass the sanitizer and achieve an XML external entity attack. Versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0 fix the issue.

> AFFECTED_PRODUCTS

Phpoffice - Phpspreadsheet
< 1.29.4
Phpoffice - Phpspreadsheet
>= 2.0.0 < 2.1.3
Phpoffice - Phpspreadsheet
>= 2.2.0 < 2.3.2
Phpoffice - Phpspreadsheet
>= 3.3.0 < 3.4.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-7cc9-j4mv-vcjp HIGH

XXE in PHPSpreadsheet's XLSX reader

AFFECTED PACKAGES:
COMPOSER / phpoffice/phpexcel
<= 1.8.2
COMPOSER / phpoffice/phpspreadsheet
>= 3.3.0, < 3.4.0
Fixed in: 3.4.0
COMPOSER / phpoffice/phpspreadsheet
>= 2.2.0, < 2.3.2
Fixed in: 2.3.2
COMPOSER / phpoffice/phpspreadsheet
>= 2.0.0, < 2.1.3
Fixed in: 2.1.3
COMPOSER / phpoffice/phpspreadsheet
< 1.29.4
Fixed in: 1.29.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

XXE in PHPSpreadsheet's XLSX reader

AFFECTED PACKAGES:
Unknown / Unknown
56 versions affected
ALIASES:
GHSA-7cc9-j4mv-vcjp

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/11/2024 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:56
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