High8.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L

PT-2024-66: Unauthorized Reflected XSS in PhpSpreadsheet (Currency.php)

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:N/UI:R/S:U/C:L/I:H/A:N
  • Severity (CVSSv3.1): 8.2 (high)
  • Base vulnerability score (CVSSv4.0): CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L
  • Severity (CVSSv4.0): 8.3 (high)

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 allows an unauthorized 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 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:

Researcher: Aleksey Solovev (Positive Technologies)

Identifiers:

CVE-2024-56409

BDU:2025-00507

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