Vulnerability in exceljs-hardened
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
exceljsの4.4.0までのバージョンでは、セルの値をCSVに書き出す際に先頭の等号・プラス・マイナス・アットマークが無害化されません。出力されたCSVファイルを表計算ソフトで開くと、埋め込まれた数式が実行され、情報が外部に送信されるおそれがあります。最新の情報を確認してください。
exceljs-hardenedでCSV出力においてセル値の先頭記号が無害化されない問題。
exceljs-hardened バージョン5.0.0未満のソフトウェア。
攻撃者がCSV内の式を注入可能で、データ漏洩や悪意のある操作が行われる可能性。
バージョン5.0.0以上にアップデートする。
暫定的に、CSV出力時にセル値の先頭記号を手動でエスケープする。
影響を受けるバージョンを使用しているかどうかを確認し、CSVファイルの出力方法を検査する。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| exceljsexceljs |
≤ 4.4.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com
- web npmjs.com