What’s Vulnerable › Vulnerabilities
CVE-2023-0467: WP Dark Mode < 4.0.8 - Subscriber+ Local File Inclusion
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-03-27 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- WP Dark Mode: before 4.0.8 — fixed in 4.0.8
How to fix
Upgrade to a fixed version: WP Dark Mode 4.0.8. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4
- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4
Get alerted when CVE-2023-0467 or the next vulnerability affects your stack