8.7high
exceljs through 4.4.0 Path Traversal via Unvalidated addImage filename
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.37% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
exceljs through 4.4.0 contains a path traversal vulnerability in the Workbook.addImage() function that fails to validate file paths. Attackers can supply arbitrary file paths to read any file accessible to the Node.js process and embed it in the generated workbook.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| exceljs | up to 4.4.0 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
exceljs through 4.4.0 contains a path traversal vulnerability in the Workbook.addImage() function that fails to validate file paths. Attackers can supply arbitrary file paths to read any file accessible to the Node.js process and embed it in the generated workbook.
NVD (es)
exceljs-hardened anterior a 5.0.0 contiene una vulnerabilidad de salto de ruta en la función Workbook.addImage() que no valida las rutas de archivo. Los atacantes pueden suministrar rutas de archivo arbitrarias para leer cualquier archivo accesible para el proceso de Node.js e incrustarlo en el libro de trabajo generado.
References
| https://github.com/exceljs/exceljs | product | |
| https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-m8mg-8574-gm3m | third-party-advisory, vendor-advisory | |
| https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/workbook.js#L142-L147 | technical-description | |
| https://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xlsx.js#L421-L429 | technical-description | |
| https://www.vulncheck.com/advisories/exceljs-through-path-traversal-via-unvalidated-addimage-filename | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78208 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-78208 changed 2026-10-14 | Public domain |