Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2024-56412
Summary
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. The package phpoffice/phpspreadsheet versions through 1.29.6, 2.0.0 through 2.1.5, 2.2.0 through 2.3.4, and 3.3.0 through 3.6.0 are vulnerable to bypass of the Cross-Site Scripting (XSS) sanitizer using the javascript protocol and special characters. An attacker can use special characters, so that the library processes the javascript protocol with special characters and generates an HTML link.
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- LOW
- LOW
- 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.
References
Advisory Timeline
- Published