mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
fix xss in addOperation
This commit is contained in:
parent
1bc88728f0
commit
6d3ca3f56c
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ class RecipeWaiter {
|
||||||
const item = document.createElement("li");
|
const item = document.createElement("li");
|
||||||
|
|
||||||
item.classList.add("operation");
|
item.classList.add("operation");
|
||||||
item.innerHTML = name;
|
item.innerHTML = Utils.escapeHtml(name);
|
||||||
this.buildRecipeOperation(item);
|
this.buildRecipeOperation(item);
|
||||||
document.getElementById("rec-list").appendChild(item);
|
document.getElementById("rec-list").appendChild(item);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue