CVE-2024-56412 - CVE House
Back to Database
Status published Medium CVE-2024-56412

PhpSpreadsheet vulnerable to bypass of the XSS sanitizer using the javascript protocol and special characters

Vulnerability Description

PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to bypass of the cross-site scripting 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. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-56412

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

PhpSpreadsheet
Vulnerable Versions:
>= 3.0.0, < 3.7.0, < 1.29.7, >= 2.0.0, < 2.1.6, >= 2.2.0, < 2.3.5

Timeline

Official Publish: January 3rd, 2025
Last Modified: January 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)