ExcelJS arbitrary file read in streaming workbook images
exceljs
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| exceljs exceljs |
| No fix yet |
Original description
ExcelJS through 4.4.0 contains an arbitrary file read vulnerability in the streaming WorkbookWriter that allows attackers to read local files by supplying crafted image filenames to addImage. Attackers can inject ../ path segments into user-controlled image paths, causing addMedia to embed any file readable by the Node.js process under xl/media in the generated workbook.
From the CVE record · VulnCheck