header-logo
Suggest Exploit
vendor:
PHP Easy Shopping Cart
by:
SecurityFocus
7.5
CVSS
HIGH
Cross-Site Scripting
79
CWE
Product Name: PHP Easy Shopping Cart
Affected Version From: 3.1R
Affected Version To: 3.1R
Patch Exists: NO
Related CWE: N/A
CPE: a:php_easy_shopping_cart:php_easy_shopping_cart
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2010

PHP Easy Shopping Cart Cross-Site Scripting Vulnerability

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.

Mitigation:

Input validation should be used to ensure that untrusted data is not used to dynamically generate web content. Additionally, the application should use an up-to-date version of PHP.
Source

Exploit-DB raw data:

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>