Medium4.8
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

PT-2024-69: Cross-Site Scripting (XSS) in custom properties in PhpSpreadsheet

Error type:

  • CWE-79:Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Vulnerability vector:

  • Base vulnerability score (CVSSv3.1): CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Severity (CVSSv3.1): 5.4 (medium)
  • Base vulnerability score (CVSSv4.0): CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
  • Severity (CVSSv4.0): 4.8 (medium)

Description:

The vulnerability was identified in PhpSpreadsheet, versions >= 3.0.0, < 3.7.0/ <= 1.29.6/ >= 2.0.0, <= 2.1.5/ >= 2.2.0, <= 2.3.4.

The discovered vulnerability in custom properties allows an attacker to execute arbitrary JavaScript code in the browser.

Vulnerability status: Confirmed by vendor

Date of vulnerability remediation: 27.12.2024

Recommendations:

  • Update versions >= 3.0.0, < 3.7.0 to 3.7.0 or higher
  • Update versions <= 1.29.6 to 1.29.7 or higher
  • Update versions >= 2.0.0, <= 2.1.5 to 2.1.6 or higher
  • Update versions >= 2.2.0, <= 2.3.4 to 2.3.5 or higher

Additional information: Security advisory

Researcher: Aleksey Solovev (Positive Technologies)

Identifiers:

CVE-2024-56410

BDU:2025-00502

Vendor:

PHPOffice

Vulnerable product:

PhpSpreadsheet

Vulnerable versions:

>= 3.0.0, < 3.7.0/ <= 1.29.6/ >= 2.0.0, <= 2.1.5/ >= 2.2.0, <= 2.3.4