Описание
Cross-Site Scripting in exceljs
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.
Пакеты
Наименование
exceljs
npm
Затронутые версииВерсия исправления
< 1.6.0
1.6.0
Связанные уязвимости
CVSS3: 6.1
nvd
около 7 лет назад
An unescaped payload in exceljs <v1.6 allows a possible XSS via cell value when worksheet is displayed in browser.