Description
WordPress Plugin myghpay WooCommerce Payment Gateway 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 myghpay WooCommerce Payment Gateway version 3.0 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39308
https://wordpress.org/plugins/woo-myghpay-payment-gateway/#description
Related Vulnerabilities
MySQL CVE-2019-2966 Vulnerability (CVE-2019-2966)
WordPress Weak Password Recovery Mechanism for Forgotten Password Vulnerability (CVE-2017-8295)
WordPress Plugin Easy Social Icons Multiple Vulnerabilities (1.2.3.1)
Oracle JRE CVE-2013-2433 Vulnerability (CVE-2013-2433)
WordPress Plugin Membership Simplified Multiple SQL Injection Vulnerabilities (1.58)