← Vulnerability feed

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.

8.8 CVSS 3.1 High EPSS 60% · top 0.9% CWE-89 · SQL injection
8.8CVSS 3.1 base score
60%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-37277Strangerstudios paid memberships pro insecure direct object reference vulnerabilityAuthorization Bypass Through User-Controlled Key vulnerability in Paid Memberships Pro allows Accessing Functionality Not Properly Constrained by ACL…EPSS 0.67%9.8CVE-2023-23488Paid Memberships Pro WordPress plugin unauthenticated SQL injectionThe Paid Memberships Pro WordPress plugin before version 2.9.8 is affected by an unauthenticated SQL injection in the 'code' parameter of the '/pmpro…EPSS 92%analysed9.8CVE-2021-25114Paid Memberships Pro unauthenticated SQL injection via discount_codeThe Paid Memberships Pro WordPress plugin before 2.6.7 fails to escape the discount_code parameter in a REST route that is reachable without authenti…EPSS 82%analysed8.8CVE-2023-39990Strangerstudios paid memberships pro missing authorization vulnerabilityMissing Authorization vulnerability in Paid Memberships Pro.This issue affects Paid Memberships Pro: from n/a through 1.2.3.EPSS 0.48%8.8CVE-2024-32793Strangerstudios paid memberships pro cross-site request forgery vulnerabilityCross-Site Request Forgery (CSRF) vulnerability in Paid Memberships Pro.This issue affects Paid Memberships Pro: from n/a through 2.12.10.EPSS 0.23%8.8CVE-2024-32794Strangerstudios paid memberships pro cross-site request forgery vulnerabilityCross-Site Request Forgery (CSRF) vulnerability in Paid Memberships Pro.This issue affects Paid Memberships Pro: from n/a through 2.12.10.EPSS 0.25%8.8CVE-2023-6187Paid Memberships Pro WordPress plugin arbitrary file uploadThe Paid Memberships Pro plugin for WordPress fails to properly validate file types in the pmpro_paypalexpress_session_vars_for_user_fields function …EPSS 51%analysed8.8CVE-2021-20678Strangerstudios paid memberships pro sql injection vulnerabilitySQL injection vulnerability in the Paid Memberships Pro versions prior to 2.5.6 allows remote authenticated attackers to execute arbitrary SQL comman…EPSS 2.0%

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.