---
id: CVE-2025-10143
title: >-
  The Catch Dark Mode plugin for WordPress is vulnerable to Local File Inclusion
  in all versions up to, and including, 2.0 via the 'catch_dark_mode' shortcode
summary: >-
  The Catch Dark Mode plugin for WordPress is vulnerable to Local File Inclusion
  in all versions up to, and including, 2.0 via the 'catch_dark_mode' shortcode.
  This makes it possible for authenticated attackers, with Contributor-level
  acce…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-98
published: '2025-09-17'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10143'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/catch-dark-mode/trunk/plugin.php#L483
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3359058/'
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/catch-dark-mode'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/46776cd5-5262-46ea-b56c-0cbf2b9ae43d?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00615
epssPercentile: 0.47218
ingestedAt: '2026-09-26T00:22:39.919Z'
---

## Overview

The Catch Dark Mode plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.0 via the 'catch_dark_mode' shortcode. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
