ExcelJS through 4.4.0 Arbitrary File Read via WorkbookWriter addImage Filename

State
Published
Severity
8.7 High
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 13, 2026

Read the record on cve.org

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.

ProductVersions
exceljs exceljs4.4.0 and earlier Affected

Weaknesses

  • CWE-73 External Control of File Name or Path

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.