WooCommerce Payments <= 5.9.0 - Authenticated (Shop manager+) SQL Injection via currency parameters

6.6
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2023-35915
CVSS 6.6 (Medium)
Publicly Published June 20, 2023
Last Updated January 22, 2024
Researcher Rafie Muhammad - Awesome Motive, Inc.

Description

The WooCommerce Payments plugin for WordPress is vulnerable to SQL Injection via the ‘currency', 'currency_is', and 'currency_is_not' parameters in versions up to, and including, 5.9.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with shop manager-level access and above, 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 WooPayments: Integrated WooCommerce Payments

Software Type Plugin
Software Slug woocommerce-payments (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.9.1, or a newer patched version
Affected Version
  • <= 5.9.0
Patched Version
  • 5.9.1

Recent vulnerabilities in WooPayments: Integrated WooCommerce Payments

# Title CVE ID CVSS Researchers Date
1 WooPayments <= 10.5.1 - Missing Authorization to Unauthenticated Plugin Settings Update via save_upe_appearance_ajax CVE-2026-1710 6.5 Dmitrii Ignatyev March 30, 2026
2 WooPayments – Fully Integrated Solution Built and Supported by Woo <= 6.6.2 - Unauthenticated Insecure Direct Object Reference CVE-2023-51503 5.3 Rafie Muhammad December 27, 2023
3 WooCommerce Payments <= 6.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2023-49828 6.4 Rafie Muhammad December 5, 2023
4 WooCommerce Payments <= 5.9.0 - Missing Authorization via redirect_pay_for_order_to_update_payment_method CVE-2023-35916 6.5 Rafie Muhammad June 19, 2023
5 WooCommerce Payments 4.8.0 - 5.6.1 Authentication Bypass and Privilege Escalation CVE-2023-28121 9.8 mikemyers March 23, 2023
6 WooCommerce Payments <= 4.5.0 - Payment Bypass 5.3 August 9, 2022

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