Total Tests:

Cross-site Scripting (XSS) Vulnerability in WP e-Commerce

Advisory ID:HTB23031
Product:WP e-Commerce
Vendor:Instinct Entertainment
Vulnerable Versions:3.8.5 and probably prior
Tested Version:3.8.5
Advisory Publication:July 13, 2011 [without technical details]
Vendor Notification:July 13, 2011
Public Disclosure:August 3, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in WP e-Commerce, which can be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in WP e-Commerce
Input passed via the cart_messages[] parameter to /wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-cart_widget.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser in context of an affected website.
Exploitation example:
http://[host]/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-cart_widget.p hp?cart_messages[]=%3Cimg%20src=1%20onerror=javascript:alert%28document.cook ie%29%3E
Successful exploitation of the vulnerability requires that "register_globals" is enabled.

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to version 3.8.8.5


References:
[1] High-Tech Bridge Advisory HTB23031 - https://www.immuniweb.com/advisory/HTB23031 - Cross-site Scripting (XSS) Vulnerability in WP e-Commerce
[2] WP e-Commerce - getshopped.org - WP e-Commerce remains the most popular, most robust e-commerce plugin for WordPress and is the ideal way to sell products, downloads or services online.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential