Description
WordPress Plugin Woocommerce Payment Gateway per Category 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 Woocommerce Payment Gateway per Category version 2.0.10 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-38341
https://wordpress.org/plugins/wc-payment-gateway-per-category/#description
Related Vulnerabilities
MediaWiki CVE-2023-29139 Vulnerability (CVE-2023-29139)
PHP Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2007-4782)
OpenSSL Improper Authentication Vulnerability (CVE-2023-2975)
WordPress Plugin Duplicate Page Cross-Site Scripting (4.4.2)
Jenkins Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-5321)