Description
WordPress Plugin Easy Cookies Policy 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 Easy Cookies Policy version 1.6.2 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://sploitus.com/exploit?id=WPEX-ID:9157D6D2-4BDA-4FCD-8192-363A63A51FF5
https://wordpress.org/plugins/easy-cookies-policy/#description
Related Vulnerabilities
WordPress Plugin WP Security Question Cross-Site Request Forgery (1.0.5)
WordPress Plugin EWWW Image Optimizer Cross-Site Scripting (2.0.1)
Sqlite Other Vulnerability (CVE-2019-19959)
WordPress Plugin WooCommerce Security Bypass (5.6.0)
IBM RTC Server-Side Request Forgery (SSRF) Vulnerability (CVE-2021-29844)