← Vulnerability feed

Vulnerability record · CVE-2022-4830 · published 13 February 2023

CVE-2022-4830: Paid Memberships Pro WordPress plugin shortcode stored XSS

Strangerstudios · Paid Memberships Pro

The Paid Memberships Pro WordPress plugin before 2.9.9 fails to validate and escape certain shortcode attributes before rendering them back into the page. This allows stored cross-site scripting, where injected script persists and executes in the browser of any user viewing the affected content.

5.4 CVSS 3.1 Medium EPSS 65% · top 0.8% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score
65%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.9 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Automated analysis

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

medium priorityCVSS is medium at 5.4 and requires authenticated contributor access plus victim interaction, though public exploit references and high EPSS raise the practical risk.

What it is

The Paid Memberships Pro WordPress plugin before 2.9.9 fails to validate and escape certain shortcode attributes before rendering them back into the page. This allows stored cross-site scripting, where injected script persists and executes in the browser of any user viewing the affected content.

Impact

An attacker with contributor-level access can inject persistent JavaScript that runs in the context of higher-privileged users such as administrators, enabling session theft or privileged actions in the admin's browser.

Attack surface

Reached over the network through crafted shortcode attributes submitted by an authenticated user with a role as low as contributor. Exploitation requires the victim to view the affected page, so some user interaction is needed.

Exploitation

Not listed in CISA KEV, but EPSS is high at 0.65006 (99.2nd percentile) and both references are tagged Exploit, indicating public exploit information exists.

What to do

  • Update Paid Memberships Pro to version 2.9.9 or later.
  • Restrict contributor and other low-privilege accounts until patched.
  • Audit existing posts and pages for injected shortcode attributes or unexpected script content.
  • Apply a web application firewall rule to block script payloads in shortcode attributes.

Detection

  • Search post and page content for shortcode attributes containing script tags or event handlers.
  • Monitor for new or modified content created by contributor-level accounts.
  • Review web server and application logs for requests submitting shortcode attributes with encoded script payloads.

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-2022-4830 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-2023-0631Paid Memberships Pro WordPress plugin SQL injection via shortcodesThe Paid Memberships Pro WordPress plugin before 2.9.12 fails to prevent subscribers from rendering shortcodes that concatenate attributes directly i…EPSS 60%analysed

Source: NIST National Vulnerability Database (record CVE-2022-4830), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.