Description
WordPress Plugin Paid Memberships Pro-Restrict Member Access to Content, Courses, Communities-Free or Paid Subscriptions is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin Paid Memberships Pro-Restrict Member Access to Content, Courses, Communities-Free or Paid Subscriptions version 2.9.8 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.9.9 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:AE103336-A411-4EBF-A5F0-2F35701E364C
https://plugins.svn.wordpress.org/paid-memberships-pro/trunk/readme.txt
Related Vulnerabilities
Oracle Database Server CVE-2012-0520 Vulnerability (CVE-2012-0520)
osCommerce Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2002-1991)
WordPress Plugin Elementor Website Builder Multiple Cross-Site Scripting Vulnerabilities (3.1.1)
WordPress Plugin JupiterX Core Security Bypass (2.0.6)
Liferay DXP Observable Discrepancy Vulnerability (CVE-2024-25146)