Advisory

GHSA-2j2j-8rrv-264g

Also known as: CVE-2018-16459

Summary

Cross-Site Scripting in exceljs

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-09-11 18:58 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

exceljs

npm · All systems

Affected

  • introduced 0, fixed 1.6.0 (semver)

Fixed versions

1.6.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences