CC-4897: XSS exploit on library page
This commit is contained in:
parent
20a3f674b4
commit
b45f71e8f9
|
@ -269,7 +269,7 @@ class Application_Model_StoredFile
|
|||
$md = array();
|
||||
foreach ($this->_dbMD as $dbColumn => $propelColumn) {
|
||||
$method = "get$propelColumn";
|
||||
$md[$dbColumn] = htmlspecialchars($this->_file->$method());
|
||||
$md[$dbColumn] = $this->_file->$method();
|
||||
}
|
||||
|
||||
return $md;
|
||||
|
|
|
@ -8,6 +8,7 @@ if ($item['type'] == 2) {
|
|||
$bl= new Application_Model_Block($item['item_id']);
|
||||
$staticBlock = $bl->isStatic();
|
||||
}
|
||||
$item["track_title"] = $this->escape($item["track_title"]);
|
||||
?>
|
||||
<li class="ui-state-default" id="spl_<?php echo $item["id"] ?>" unqid="<?php echo $item["id"]; ?>">
|
||||
<div class="list-item-container">
|
||||
|
|
Loading…
Reference in New Issue