Description
WordPress Plugin Dark Mode 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 Dark Mode version 1.6 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.7 or latest
References
https://github.com/d4wner/Vulnerabilities-Report/blob/master/dark-mode.md
https://plugins.svn.wordpress.org/dark-mode/trunk/readme.txt
Related Vulnerabilities
PrestaShop URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2020-5270)
Drupal Core 8.6.x Multiple Vulnerabilities (8.6.0 - 8.6.1)
WordPress Plugin Rich Reviews Cross-Site Scripting (1.7.4)
WordPress Plugin My Site Audit Cross-Site Scripting (1.2.4)
Oracle Database Server CVE-2014-0377 Vulnerability (CVE-2014-0377)