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
WebLogic Deserialization of Untrusted Data Vulnerability (CVE-2020-9548)
Jboss EAP Deserialization of Untrusted Data Vulnerability (CVE-2019-14892)
Oracle Application Server Other Vulnerability (CVE-2005-3448)
WebLogic CVE-2020-2544 Vulnerability (CVE-2020-2544)
TYPO3 URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2021-21338)