CVE-2024-5449 MEDIUM

CVE-2024-5449: WP Dark Mode – WordPress Dark Mode Plugin for Improved Accessibility, Dark Theme, Night Mode, and Social Sharing <= 5.0.4 - Missing Authorization

Vendor Wppool
Product WP Dark Mode – Improve Accessibility with AI Powered Dark Theme
Weakness CWE-862 · Missing authorization
Published June 6, 2024
Last update April 8, 2026

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

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

Related vulnerabilities

08Related CVE