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
Magento Server-Side Request Forgery (SSRF) Vulnerability (CVE-2019-7911)
WordPress 4.8.x Multiple Vulnerabilities (4.8 - 4.8.11)
WordPress Plugin OAuth client Single Sign On for WordPress (OAuth 2.0 SSO) Security Bypass (3.0.3)
WordPress Plugin SB Welcome Email Editor Unspecified Vulnerability (4.1)
MyBB Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2012-2327)