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
Drupal Improper Input Validation Vulnerability (CVE-2016-9452)
WordPress Plugin Smart Manager for WooCommerce & WpeC Multiple Unspecified Vulnerabilities (3.9.13)
Oracle JRE CVE-2019-2978 Vulnerability (CVE-2019-2978)
Vanilla Forums CVE-2013-3528 Vulnerability (CVE-2013-3528)
Liferay Portal Incorrect Default Permissions Vulnerability (CVE-2022-41414)