ExcelJS through 4.4.0 Formula Injection via Table Totals Row Column Names
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 13, 2026
Description
ExcelJS through 4.4.0 contains a formula injection vulnerability in the totals row formula getter in lib/doc/table.js that fails to escape [, ], # and ' characters in structured reference column names. Attackers can supply column names containing ] via untrusted input like imported CSV headers to inject formulas such as HYPERLINK that exfiltrate cell values when users open and click the generated workbook.
| Product | Versions |
|---|---|
| exceljs exceljs | 4.4.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | VulnCheck | |
| 3.1 | 4.2 Medium | VulnCheck |
Weaknesses
- CWE-116 Improper Encoding or Escaping of Output
References
- https://github.com/exceljs/exceljsProduct Page
- GitHub Security Advisory (GHSA-qjfh-3mh9-356v)Third-Party Advisory
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/table.js#L84-L104Technical Details
- VulnCheck Advisory: ExcelJS through 4.4.0 Formula Injection via Table Totals Row Column NamesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.