SCA: security update for phpoffice/phpspreadsheet (GHSA-v66g-p9x6-v98p)

medium Tenable Cloud Security Plugin ID 419113

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. 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.
(CVE-2024-45060)

See Also

https://github.com/advisories/GHSA-v66g-p9x6-v98p

Plugin Details

Severity: Medium

ID: 419113

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.66

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2024-45060

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/7/2024

Vulnerability Publication Date: 10/7/2024

Reference Information

CVE: CVE-2024-45060

cwe: CWE-79