What the vulnerability does
01Description
The WP Dark Mode – WordPress Dark Mode Plugin for Improved Accessibility, Dark Theme, Night Mode, and Social Sharing plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the wpdm_social_share_save_options function in all versions up to, and including, 5.0.4. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update the plugin's settings.
Explanation of Vulnerability in Simple Terms
02Summary
WP Dark Mode versions up to 5.0.4 lack proper authorization checks on certain functions. A logged-in user with low privileges can modify settings or data they should not have access to. The vulnerability requires an active WordPress account but no special permissions. Update to a version newer than 5.0.4 to resolve this issue.
What an attacker can do
03Attacker Capabilities
A low-privilege user can modify plugin settings or data without proper authorization.
Potential impact on your site
04Site Impact
Unauthorized users may alter plugin configuration, affecting site appearance or functionality for all visitors.
Conditions required to exploit
05Prerequisites
Attacker must have a valid WordPress user account with low-level permissions.
Key dates
06Disclosure timeline
June 6, 2024
CVE published
April 8, 2026
Record updated