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
WordPress Plugin Sharebar Multiple Vulnerabilities (1.2.5)
MediaWiki Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2021-46148)
Dot CMS Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2020-19138)
WordPress Plugin Passster-Password Protection Weak Encoding (3.5.5.5.1)