Merge branch 'ent-10219-stored-cross-site-scripting-in-syslog-section' into 'develop'

Ent 10219 stored cross site scripting in syslog section

See merge request artica/pandorafms!5464
This commit is contained in:
Rafael Ameijeiras 2023-02-02 10:02:32 +00:00
commit 3bc593e58a
1 changed files with 1 additions and 1 deletions

View File

@ -1994,7 +1994,7 @@ if ($create_module) {
$agent = db_get_row('tagente', 'id_agente', $id_agente);
db_pandora_audit(
AUDIT_LOG_AGENT_MANAGEMENT,
"Added module '".io_safe_output($name)."' for agent ".io_safe_output($agent['alias']),
"Added module '".db_escape_string_sql($name)."' for agent ".io_safe_output($agent['alias']),
false,
true,
io_json_mb_encode($values)