WordPress Plugin Vulnerabilities

WP Dark Mode < 4.0.8 - Subscriber+ Local File Inclusion

Description

The plugin 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.

Proof of Concept

Affects Plugins

Fixed in 4.0.8

References

Classification

Type
LFI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Alex Sanford
Submitter
Alex Sanford
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-03-06 (about 2 years ago)
Added
2023-03-06 (about 2 years ago)
Last Updated
2023-03-06 (about 2 years ago)

Other