Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixes #177, possible XSS in Media Manager plugin
  • Loading branch information
azett committed Dec 25, 2022
1 parent e53acde commit d3f3294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fp-plugins/mediamanager/panels/panel.mediamanager.file.php
Expand Up @@ -233,7 +233,7 @@ function main() {

function onsubmit($data = NULL) {
if (isset($_POST ['mm-newgallery'])) {
$newgallery = $_POST ['mm-newgallery-name'];
$newgallery = strip_tags($_POST ['mm-newgallery-name']);
if ($newgallery == "") {
$this->smarty->assign('success', -3);
return 2;
Expand Down

0 comments on commit d3f3294

Please sign in to comment.