CVE-2026-78209

8.2

exceljs · exceljs

The exceljs library is vulnerable to CSV formula injection, which can lead to unauthorized data access or malicious actions when a user opens a generated CSV file in spreadsheet software.

Executive summary

The exceljs library, in versions up to 4.4.0, contains a formula injection vulnerability that could compromise user data when processed by spreadsheet applications.

Vulnerability

The software is affected by CWE-1236 (Improper Neutralization of Formula Elements in a CSV File). This vulnerability allows an attacker to inject formula elements into CSV files, which are then executed when the file is opened by a victim using software like Microsoft Excel, requiring no authentication.

Business impact

This vulnerability poses a significant risk to data confidentiality and integrity. If an attacker successfully injects malicious formulas into generated CSV files, they could potentially execute unauthorized commands or exfiltrate sensitive data from the victim's spreadsheet environment. With a CVSS score of 8.2, this issue requires prompt attention to prevent potential exploitation in business workflows.

Remediation

Immediate Action: Update to the latest version of exceljs as specified by the project maintainers to ensure proper sanitization of CSV cell values.

Proactive Monitoring: Audit applications that generate CSV files using exceljs to ensure that inputs are sanitized before being processed by the library.

Compensating Controls: Advise users to exercise caution when opening CSV files from untrusted sources and configure spreadsheet software to disable automatic formula execution where possible.

Exploitation status

Public Exploit Available: No (no confirmed public exploit identified).

Analyst recommendation

Developers should prioritize updating the exceljs dependency to the latest version to address this injection flaw. Organizations should also implement strict input validation for any data that is exported into CSV format.

More exceljs CVEs