What’s Vulnerable › Vulnerabilities

CVE-2023-0467: WP Dark Mode < 4.0.8 - Subscriber+ Local File Inclusion

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

How to fix

Upgrade to a fixed version: WP Dark Mode 4.0.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-0467 or the next vulnerability affects your stack