# 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

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Published: 2024-06-06T03:32:54.926Z
- Modified: 2026-06-17T08:15:58.423Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- wppool WP Dark Mode – Improve Accessibility with AI Powered Dark Theme: up to 5.0.4
- wppool wp_dark_mode: before 5.0.5

## Every score

- Wordfence: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d7d20733-d61b-4b2f-8597-528644f0bc26?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/wp-dark-mode/trunk/includes/modules/social-share/class-social-share.php#L581> (patch)
- <https://plugins.trac.wordpress.org/changeset/3096290/wp-dark-mode/trunk?contextall=1&old=3073245&old_path=%2Fwp-dark-mode%2Ftrunk> (patch)

## Sources

- CVE List: [CVE-2024-5449](https://www.cve.org/CVERecord?id=CVE-2024-5449), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-5449](https://nvd.nist.gov/vuln/detail/CVE-2024-5449), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5449 · Whole record: https://cve.day/CVE-2024-5449.json · Rebuilt by cve.day 2026-11-25T22:58:41.474Z
