SCA: security update for phpoffice/phpspreadsheet (GHSA-wgmf-q9vr-vww6)

medium Tenable Cloud Security Plugin ID 419919

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. In affected versions
`\PhpOffice\PhpSpreadsheet\Writer\Html` doesn't sanitize spreadsheet styling information such as font
names, allowing an attacker to inject arbitrary JavaScript on the page. As a result an attacker may used a
crafted spreadsheet to fully takeover a session of a user viewing spreadsheet files as HTML. This issue
has been addressed in release version 2.1.0. All users are advised to upgrade. There are no known
workarounds for this vulnerability. (CVE-2024-45046)

See Also

https://github.com/advisories/GHSA-wgmf-q9vr-vww6

Plugin Details

Severity: Medium

ID: 419919

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: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2024-45046

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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: 4.8

Threat Score: 1.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/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: 8/29/2024

Vulnerability Publication Date: 8/28/2024

Reference Information

CVE: CVE-2024-45046

cwe: CWE-79