WP eCommerce <= 3.8.9 - SQL Injection

9.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS 9.8 (Critical)
Publicly Published August 1, 2014
Last Updated December 5, 2022
Researcher DefenceCode

Description

The WP eCommerce plugin for WordPress is vulnerable to generic SQL Injection via the ‘view_purchlogs_by_status’ parameter in versions up to, and including, 3.8.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP eCommerce

Software Type Plugin
Software Slug wp-e-commerce (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.8.9.1, or a newer patched version
Affected Version
  • <= 3.8.9
Patched Version
  • 3.8.9.1

Recent vulnerabilities in WP eCommerce

# Title CVE ID CVSS Researchers Date
1 eCommerce <= 3.15.1 - Cross-Site Request Forgery to Coupon Deletion CVE-2026-1128 4.3 Bob Matyas February 13, 2026
2 eCommerce <= 3.15.1 - Unauthenticated PHP Object Injection CVE-2026-1235 8.1 ibrahimsql January 21, 2026
3 WP eCommerce <= 3.15.1 - Unauthenticated SQL Injection CVE-2024-1514 9.8 Krzysztof Zając February 27, 2024
4 WP eCommerce <= 3.15.1 - Missing Authorization to Unauthenticated Arbitrary Post Creation CVE-2024-1516 5.3 Krzysztof Zając February 27, 2024
5 WP eCommerce < 3.11.4 - SQL Injection 8.3 Mika Epstein November 12, 2016
6 WP eCommerce <= 3.9.2 - Reflected Cross-Site Scripting 6.1 April 20, 2015
7 WP eCommerce <= 3.8.14.3 - Missing Authorization 8.3 MICKAEL NADEAU (Sucuri) November 1, 2014
8 WP eCommerce < 3.8.7.6 - SQL Injection CVE-2012-5310 9.8 October 5, 2014
9 WP eCommerce <= 3.8.9 - Cross-Site Scripting 6.1 DefenceCode August 1, 2014
10 WP eCommerce < 3.8.7.2 - Stored Cross-Site Scripting CVE-2011-5104 5.3 November 21, 2011

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation