mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Add CSRF Checks on Agent ajax endpoints that would update / delete or add something to the db
This commit is contained in:
@@ -1231,6 +1231,7 @@ if (isset($_GET['asset_id'])) {
|
||||
"ajax.php",
|
||||
{
|
||||
asset_set_notes: 'TRUE',
|
||||
csrf_token: '<?= $_SESSION['csrf_token'] ?>',
|
||||
asset_id: asset_id,
|
||||
notes: notes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user