mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUGFIX Fixed XSS vulnerability in BlogTree when filtering by tags
This commit is contained in:
parent
92c09ee62f
commit
3593f03f7e
@ -298,7 +298,7 @@ class BlogTree_Controller extends Page_Controller {
|
||||
* @return String
|
||||
*/
|
||||
function SelectedTag() {
|
||||
return ($this->request->latestParam('Action') == 'tag') ? $this->request->latestParam('ID') : '';
|
||||
return ($this->request->latestParam('Action') == 'tag') ? Convert::raw2xml($this->request->latestParam('ID')) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user