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
Moodle Improper Validation of Integrity Check Value Vulnerability (CVE-2012-1170)
WordPress Plugin Gallery-Flagallery Photo Portfolio Multiple Vulnerabilities (2.00)
Chamilo Improper Handling of Case Sensitivity Vulnerability (CVE-2023-3545)
WordPress Plugin WP iCommerce-the first interactive ecommerce for wordpress SQL Injection (1.1.1)