PHP Easy Shopping Cart 3.1R - 'subitems.php' Cross-Site Scripting

EDB-ID:

34847


Author:

Moudi

Type:

webapps


Platform:

PHP

Date:

2009-08-07


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

PHP Easy Shopping Cart is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

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 allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

PHP Easy Shopping Cart 3.1R is vulnerable; others versions may also be affected. 

http://example.com/subitems.php?id=[NB]&name=[XSS]

http://example.com/demo/plant/subitems.php?id=16&name="><script>alert(document.cookie);</script>