Vulnerability record · CVE-2023-0631 · published 20 March 2023
CVE-2023-0631: Paid Memberships Pro WordPress plugin SQL injection via shortcodes
Strangerstudios · Paid Memberships Pro
The Paid Memberships Pro WordPress plugin before 2.9.12 fails to prevent subscribers from rendering shortcodes that concatenate attributes directly into an SQL query. This is a SQL injection (CWE-89) reachable by any authenticated subscriber, so a low-privileged account can tamper with the site's database.
Description
The Paid Memberships Pro WordPress plugin before 2.9.12 does not prevent subscribers from rendering shortcodes that concatenate attributes directly into an SQL query.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityCVSS 8.8 with high confidentiality, integrity and availability impact, a low-privilege authenticated vector, and public exploit material despite no KEV listing.
What it is
The Paid Memberships Pro WordPress plugin before 2.9.12 fails to prevent subscribers from rendering shortcodes that concatenate attributes directly into an SQL query. This is a SQL injection (CWE-89) reachable by any authenticated subscriber, so a low-privileged account can tamper with the site's database.
Impact
An attacker with a subscriber account can inject SQL through shortcode attributes, gaining read and write access to the WordPress database, which can expose or alter membership and user data.
Attack surface
Reached over the network through crafted shortcode attributes rendered by the plugin; the CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates a low-privilege authenticated subscriber is required and no user interaction is needed.
Exploitation
Not listed in CISA KEV, but EPSS is 0.60452 (99.1st percentile) and the WPScan reference is tagged Exploit, indicating public exploit material exists.
What to do
- Update Paid Memberships Pro to version 2.9.12 or later.
- If immediate patching is not possible, restrict or disable shortcode rendering for subscriber-level roles.
- Audit and reduce subscriber accounts to only those genuinely needed.
- Review database and membership records for unexpected changes.
- Monitor plugin advisories for any follow-up fixes.
Detection
- Search web and database logs for shortcode attributes containing SQL metacharacters such as quotes, UNION or SELECT.
- Alert on subscriber-role requests that invoke plugin shortcodes with unusual attribute values.
- Review database queries or errors originating from the plugin around shortcode handling.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/19ef92fd-b493-4488-91f0-e6ba51362f79 | ExploitThird Party Advisory |
| https://wpscan.com/vulnerability/19ef92fd-b493-4488-91f0-e6ba51362f79 | ExploitThird Party Advisory |
Track CVE-2023-0631 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-0631), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.