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.
Metrics
CVSS 3.1 4.3/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Unknown | WP Dark Mode | < 4.0.8 |
References
- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4Exploit, Third Party Advisory
- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4Exploit, Third Party Advisory
Timeline
- Published
- Mar 27, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified