csirt@kutim:~/threat-intel/cve/CVE-2024-48917

Katalog CVE

CVSS 7.5 · High EPSS 0,73%

Kerentanan Improper Restriction of XML External Entity Reference pada phpoffice phpspreadsheet. Skor CVSS 3.1 7.5 (High) menurut NVD.

Deskripsi (NVD)

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.

Rincian

Terbit di NVD
18 November 2024
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.1
7.5 (High), sumber NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-611: Improper Restriction of XML External Entity Reference
EPSS (30 hari)
0,73% peluang dieksploitasi; lebih tinggi dari 52,9% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
phpoffice phpspreadsheet Semua versi sebelum 1.29.4
phpoffice phpspreadsheet Versi 2.0.0 hingga sebelum 2.1.3
phpoffice phpspreadsheet Versi 2.2.0 hingga sebelum 2.3.2
phpoffice phpspreadsheet Versi 3.3.0 hingga sebelum 3.4.0

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.