CVE-2023-0467
WordPress vulnerability analysis and mitigation

Overview

CVE-2023-0467 is a Local File Inclusion (LFI) vulnerability affecting the WordPress plugin WP Dark Mode versions below 4.0.8. The vulnerability was publicly disclosed on March 6, 2023, and has been assigned a CVSS score of 4.2 (medium severity). The issue affects the plugin's handling of the style parameter in shortcodes (WPScan).

Technical details

The vulnerability stems from improper sanitization of the style parameter in shortcodes before using it to load a PHP template. This security flaw allows for Local File Inclusion on servers where non-existent directories can be traversed, or when combined with another vulnerability that enables arbitrary directory creation. The vulnerability is classified under CWE-22 and falls into the OWASP Top 10 category A1: Injection (WPScan).

Impact

When exploited, this vulnerability allows authenticated users with subscriber-level access or higher to perform Local File Inclusion attacks. This could potentially lead to unauthorized access to sensitive files on the server, particularly on Windows-based systems where directory traversal restrictions are less strict (WPScan).

Mitigation and workarounds

The vulnerability has been patched in WP Dark Mode version 4.0.8. Website administrators running affected versions should update to version 4.0.8 or later to mitigate this security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12966HIGH8.8
  • all-in-one-video-gallery
NoYesDec 06, 2025
CVE-2025-13907MEDIUM6.4
  • css3-buttons
NoNoDec 06, 2025
CVE-2025-13899MEDIUM6.4
  • tr-timthumb
NoNoDec 06, 2025
CVE-2025-13898MEDIUM6.4
  • ultra-skype-button
NoNoDec 06, 2025
CVE-2025-13896MEDIUM6.4
  • social-feed-gallery-portfolio
NoNoDec 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management