CVE-2023-0467

MEDIUM

WP Dark Mode < 4.0.8 - Local File Inclusion via Shortcode Style Parameter

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory exploit vdb-entry technical-description
https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4

Scores

CVSS v3 4.3
EPSS 0.0068
EPSS Percentile 47.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
wppool/wp_dark_mode < 4.0.8
Published Mar 27, 2023
Tracked Since Feb 18, 2026