2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-04 01:23:18 +00:00

Merge branch 'xss_fixes' of https://github.com/j433866/CyberChef into j433866-xss_fixes

This commit is contained in:
n1474335
2019-02-08 17:05:51 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class ToTable extends Operation {
const [cellDelims, rowDelims, firstRowHeader, format] = args;
// Process the input into a nested array of elements.
const tableData = Utils.parseCSV(input, cellDelims.split(""), rowDelims.split(""));
const tableData = Utils.parseCSV(Utils.escapeHtml(input), cellDelims.split(""), rowDelims.split(""));
if (!tableData.length) return "";