Skip to content

Commit

Permalink
[SECURITY] Correctly escape value of $this->gp['formToken']
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardfuehricht committed May 27, 2016
1 parent c792c2b commit 1e87874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ protected function fillDefaultMarkers()
}
if ($this->gp['formToken']) {
$markers['###HIDDEN_FIELDS###'] .= '
<input type="hidden" name="' . $name . '" value="' . $this->gp['formToken'] . '" />
<input type="hidden" name="' . $name . '" value="' . htmlspecialchars($this->gp['formToken']) . '" />
';
}

Expand Down

0 comments on commit 1e87874

Please sign in to comment.