Description
WordPress Plugin Disable Comments 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 Disable Comments version 1.3 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.3.1 or latest
References
https://wordpress.org/support/topic/xss-vulnerability-21
https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage/
Related Vulnerabilities
WordPress Plugin EMC2 Custom Help Videos Cross-Site Scripting (1.2)
WordPress Plugin Easy Preloader Cross-Site Scripting (1.0.0)
WordPress 5.6.x Multiple Vulnerabilities (5.6 - 5.6.2)
WordPress Plugin WP Spell Check Cross-Site Scripting (9.2)
WordPress Plugin eCommerce Product Catalog for WordPress Cross-Site Scripting (3.0.38)