MG2 - 'list' Cross-Site Scripting

EDB-ID:

31335




Platform:

PHP

Date:

2008-03-04


source: https://www.securityfocus.com/bid/28098/info

MG2 is prone to a cross-site scripting vulnerability because it fails to adequately sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks. 

http://www.example.com/admin.php?action=import&list=%22%3E%3Cscript%3Ealert(document.cookie);%3C/script%3E