Properly escape HTML entities in sampleDelim to avoid XSS issue (#2307)
Some checks failed
Master Build, Test & Deploy / main (push) Has been cancelled

This commit is contained in:
GCHQDeveloper581 2026-04-04 12:13:05 +01:00 committed by GitHub
parent 33314ac658
commit 167cc398ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ class OffsetChecker extends Operation {
}
}
return outputs.join(sampleDelim);
return outputs.join(Utils.escapeHtml(sampleDelim));
}
}