Skip to content

Commit

Permalink
fix: Implement code from pull gophish#2991, fixing XSS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
Touexe authored Feb 21, 2024
1 parent bc56edb commit fdc8e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/src/app/campaigns.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function deleteCampaign(idx) {
type: "warning",
animation: false,
showCancelButton: true,
confirmButtonText: "Delete " + campaigns[idx].name,
confirmButtonText: "Delete " + escapeHtml(campaigns[idx].name),
confirmButtonColor: "#428bca",
reverseButtons: true,
allowOutsideClick: false,
Expand Down

0 comments on commit fdc8e82

Please sign in to comment.