Description
exceljs through 4.4.0 fails to neutralize leading equals, plus, minus, or at signs in cell values written to CSV output. Attackers who can influence exported cell values can inject formulas that execute when the CSV file is opened in a spreadsheet application, potentially exfiltrating data or performing other malicious actions.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
exceljs exceljs
Default version status: unaffected
0 to ≤ 4.4.0affected
pkg:npm/exceljsReferences
- https://github.com/exceljs/exceljs ↗
- https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-9wxc-4rhw-hfrw ↗
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/csv/csv.js#L109-L182 ↗
- https://www.vulncheck.com/advisories/exceljs-through-csv-formula-injection-via-unescaped-cell-values ↗