Properly escape HTML entities in sampleDelim to avoid XSS issue (#2307)

This commit is contained in:
GCHQDeveloper581
2026-04-04 12:13:05 +01:00
committed by GitHub
parent 33314ac658
commit 167cc398ce
+1 -1
View File
@@ -99,7 +99,7 @@ class OffsetChecker extends Operation {
}
}
return outputs.join(sampleDelim);
return outputs.join(Utils.escapeHtml(sampleDelim));
}
}