CVE-2022-4830
Published: 13 February 2023
Summary
CVE-2022-4830 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Strangerstudios Paid Memberships Pro. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 11.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The Paid Memberships Pro WordPress plugin before version 2.9.9 contains a stored cross-site scripting vulnerability tracked as CVE-2022-4830. The component fails to validate and escape certain shortcode attributes before rendering them in page output, an issue classified under CWE-79 with a CVSS 3.1 score of 5.4.
Users holding a contributor role or higher can supply crafted shortcode attributes that store malicious scripts in the database. When administrators or other elevated accounts later view the affected content, the scripts execute in their context, enabling theft of session tokens or other actions within the WordPress administrative interface.
The referenced WPScan advisories identify the flaw in versions prior to 2.9.9 and indicate that updating to 2.9.9 or later resolves the input-handling deficiency. Exploitation probability reached a peak of 0.1932 before receding to the current value of 0.0416, indicating a period of elevated interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-52107
Vulnerability details
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…
more
Scripting attacks which could be used against high privilege users such as admins.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.