Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Fix XSS vulnerability on OID column
Browse files Browse the repository at this point in the history
  • Loading branch information
callapa committed Dec 28, 2018
1 parent ca106da commit deece94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/configuration/configObject/traps/listTraps.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"RowMenu_select" => $selectedElements->toHtml(),
"RowMenu_name" => CentreonUtils::escapeAll($trap["traps_name"]),
"RowMenu_link" => "?p=" . $p . "&o=c&traps_id=" . $trap['traps_id'],
"RowMenu_desc" => substr($trap["traps_oid"], 0, 40),
"RowMenu_desc" => CentreonUtils::escapeAll(substr($trap["traps_oid"], 0, 40)),
"RowMenu_status" => $tabStatus[$trap["traps_status"]],
"RowMenu_args" => CentreonUtils::escapeAll($trap["traps_args"]),
"RowMenu_manufacturer" => $manufacturer["alias"],
Expand Down

0 comments on commit deece94

Please sign in to comment.