Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56412

5.4 · MEDIUM
Published Jan 3, 2025 phpoffice CWE-79 EPSS 0.38% (31th pctl)

Overview

CVE-2024-56412 is a medium-severity vulnerability affecting phpoffice phpspreadsheet. It was published on January 3, 2025 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from phpoffice. Update phpspreadsheet to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
phpoffice phpspreadsheet >= 0, < 1.29.7 Affected

Frequently Asked Questions

What is CVE-2024-56412?

CVE-2024-56412 is a medium-severity vulnerability affecting phpoffice phpspreadsheet. It was published on January 3, 2025 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2024-56412?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56412?

Check the references section for vendor advisories and patches from phpoffice. Update phpspreadsheet to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56412?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56412 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.