mikehenken/Items-Manager

items/inc/edit-2.php is reading the xml file by using unfiltered values from_GET

Opened this issue · 1 comments

$id = @$_GET['edit'];
$file = ITEMDATA . $id . '.xml';
$data_edit = @getXML($file);

there should probably be a file containing the list of all items and the values from _GET should validated against it.

data/other/item_manager.xml would be a good place for such a list...