CVE-2026-2363
SQL Injection in WP-Members Plugin Allows Data Extraction
Publication date: 2026-03-04
Last updated on: 2026-03-04
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordfence | wp_members | to 3.5.5.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The WP-Members Membership Plugin for WordPress has a vulnerability in all versions up to 3.5.5.1 where the 'order_by' attribute of the [wpmem_user_membership_posts] shortcode is susceptible to SQL Injection.
This happens because the plugin does not properly escape or prepare the user-supplied 'order_by' parameter before including it in SQL queries.
As a result, authenticated users with Contributor-level access or higher can inject additional SQL commands into existing queries, potentially extracting sensitive information from the database.
How can this vulnerability impact me? :
This vulnerability allows attackers with at least Contributor-level access to perform SQL Injection attacks via the 'order_by' attribute.
Such attacks can lead to unauthorized extraction of sensitive data from the WordPress database.
Because the attacker can append additional SQL queries, this could compromise the confidentiality of user data or other protected information stored in the database.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves SQL Injection via the 'order_by' attribute of the [wpmem_user_membership_posts] shortcode in the WP-Members plugin. Detection can focus on monitoring or testing for unexpected or malicious SQL queries involving this shortcode parameter.
Since the vulnerability requires authenticated users with Contributor-level access or higher to exploit, detection can include reviewing logs for unusual shortcode usage or SQL errors related to 'order_by' parameters.
Specific commands to detect this vulnerability are not provided in the available resources.
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': "Immediate mitigation involves updating the WP-Members plugin to a version that includes input validation for the 'order_by' and 'order' parameters, as shown in the changeset that introduced whitelisting of allowed values to prevent SQL injection."}, {'type': 'list_item', 'content': 'Update the WP-Members plugin to a version later than 3.5.5.1 where input validation for ordering parameters is implemented.'}, {'type': 'list_item', 'content': 'Restrict Contributor-level and higher user permissions to trusted users only, minimizing the risk of exploitation.'}, {'type': 'list_item', 'content': "Monitor and audit shortcode usage and database query logs for suspicious activity related to the 'order_by' attribute."}] [3]