SCA: security update for phpoffice/phpspreadsheet (GHSA-3x94-m842-937c)

high Tenable Cloud Security Plugin ID 477602

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19,
2.4.8, 3.10.8, and 5.10.0, XmlScanner::scan in src/PhpSpreadsheet/Reader/Security/XmlScanner.php uses a
DOCTYPE detection pattern that accounts for NUL-byte interleaving but not ISO-2022 escape sequences in
XLSX XML parts. The escape sequences prevent the scanner from matching the declaration, and XML charset
normalization then removes the escape bytes before parsing, exposing a valid DOCTYPE and entity
definitions. Processing an attacker-controlled XLSX can therefore cause entity-expansion denial of service
on supported PHP versions and can permit local file access or SSRF on PHP before 8.0 or when LIBXML_NOENT
is enabled. This issue is fixed in versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0. (CVE-2026-108358)

Solution

Update the phpoffice/phpspreadsheet library and its related packages to version 1.30.7 or later.

See Also

https://github.com/advisories/GHSA-3x94-m842-937c

Plugin Details

Severity: High

ID: 477602

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.53

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2026-108358

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 6.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:L/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2026

Vulnerability Publication Date: 10/22/2026

Reference Information

CVE: CVE-2026-108358