Medium, CVSS 6.1npmAmendedPublished
Cross-Site Scripting in exceljs
CVE-2018-16459 · GHSA-2j2j-8rrv-264g
- Affected
- npm exceljs < 1.6.0
- Fixed in
- 1.6.0· Vendor fix available
- Issue
- Versions of exceljs before 1.6.0 are vulnerable to cross-site scripting. This vulnerability is due to exceljs not validating data from parsed XLSX file and embedding HTML tags, like <script directly into the sheet cells. Because of this it's possible to inject malicious JavaScript code and execute it when data from the sheet is displayed in the browser. Recommendation Update to version 1.6.0 or later.
Recommended action: Upgrade to 1.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.