HomeWordPress vulnerabilitiesDark Mode
Dark Mode vulnerabilities
Dark Mode has 5 known vulnerabilities in this database. The most recent published record is dated 6 Jun 2024.
- Known vulnerabilities
- 5
- Active installs
- 20,000+
- Latest version
- 5.3.19
- Last updated
- 29 Sep 2026
- Most recent
- 6 Jun 2024
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| Broken access control CVE-2024-5449 | Medium 4.3 | Before 5.0.5 | Fixed in 5.0.5 | 6 Jun 2024 |
| File inclusion CVE-2023-0467 | Medium 4.3 | Before 4.0.8 | Fixed in 4.0.8 | 27 Mar 2023 |
| Cross-site scripting (XSS) CVE-2022-4714 | Medium 5.4 | Before 4.0.0 | Fixed in 4.0.0 | 21 Feb 2023 |
| Cross-site scripting (XSS) CVE-2018-5651 | Medium 4.8 | Not yet published | Check for an update | 13 Jan 2018 |
| Cross-site scripting (XSS) CVE-2018-5652 | Medium 4.8 | Not yet published | Check for an update | 13 Jan 2018 |
Read the published descriptions
- CVE-2024-5449, 6 Jun 2024
- 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. CVE record
- CVE-2023-0467, 27 Mar 2023
- The WP Dark Mode WordPress plugin before 4.0.8 does not properly sanitize the style parameter in shortcodes before using it to load a PHP template. This leads to Local File Inclusion on servers where non-existent directories may be traversed, or when chained with another vulnerability allowing arbitrary directory creation. CVE record
- CVE-2022-4714, 21 Feb 2023
- The WP Dark Mode WordPress plugin before 4.0.0 does not validate and escape one of its shortcode attributes, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attack CVE record
- CVE-2018-5651, 13 Jan 2018
- An issue was discovered in the dark-mode plugin 1.6 for WordPress. XSS exists via the wp-admin/profile.php dark_mode_start parameter. CVE record
- CVE-2018-5652, 13 Jan 2018
- An issue was discovered in the dark-mode plugin 1.6 for WordPress. XSS exists via the wp-admin/profile.php dark_mode_end parameter. CVE record
What to do if you run Dark Mode
If you run Dark Mode, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new Dark Mode vulnerabilities
Free. We email you when a new vulnerability is published for Dark Mode, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.