Concert Calendar Addon for WebsiteBaker contains a flaw that allows a remote cross-site scripting (XSS) attack. This flaw exists because the application does not validate the 'date' parameter upon submission to the modules/concert/view.php script. This may allow an attacker to create a specially crafted request that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.
Vulnerability Code:
// view.php
if (isset($_GET['date'])) {
$date = $_GET['date'];
}
.
.
.
// SQLi
$query_dates = mysql_query("SELECT * FROM ".TABLE_PREFIX."mod_concert_dates WHERE section_id = '$section_id' && concert_date = '$date'"); // Zeile 184