Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2024-56365

Severity High
Score 8.3/10

Summary

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Package phpoffice/phpspreadsheet versions 1.29.0 through 1.29.6, 2.0.0 through 2.1.5, 2.2.0 through 2.3.4, and 3.0.0 through 3.6.0 are vulnerable to unauthorized Reflected Cross-site Scripting in the "constructor" of the `Downloader` class. Using the `src/PhpSpreadsheet/Helper/Downloader.php` script, an attacker can perform a Cross-site Scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.

  • LOW
  • NETWORK
  • ACTIVE
  • NONE

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published