Description
WordPress Plugin WP Dark Mode-Best Dark Mode & Social Sharing for WordPress 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 WP Dark Mode-Best Dark Mode & Social Sharing for WordPress version 3.0.6 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 4.0.0 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:61B475F1-BBFB-4450-A3B2-B8CAF5DF2340
https://plugins.svn.wordpress.org/wp-dark-mode/trunk/readme.txt
Related Vulnerabilities
WordPress 3.9.x Multiple Vulnerabilities (3.9 - 3.9.32)
Jenkins URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2025-27625)
WordPress Plugin Knews Multilingual Newsletters SQL Injection (1.7.0)
Moodle Improper Following of Specification by Caller Vulnerability (CVE-2019-14829)
WordPress Plugin LeagueManager Multiple SQL Injection Vulnerabilities (3.9.1.1)