Skip to content

Commit 167cc39

Browse files
Properly escape HTML entities in sampleDelim to avoid XSS issue (#2307)
1 parent 33314ac commit 167cc39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/operations/OffsetChecker.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class OffsetChecker extends Operation {
9999
}
100100
}
101101

102-
return outputs.join(sampleDelim);
102+
return outputs.join(Utils.escapeHtml(sampleDelim));
103103
}
104104

105105
}

0 commit comments

Comments
 (0)