---
id: CVE-2026-104677
title: >-
  The WP Coder  WordPress plugin before 4.5.2 does not restrict access to its
  PHP code-execution feature to administrators, gating it on a content
  capability that the Editor role holds by default, which allows Editor-level
  users to save an…
summary: >-
  The WP Coder  WordPress plugin before 4.5.2 does not restrict access to its
  PHP code-execution feature to administrators, gating it on a content
  capability that the Editor role holds by default, which allows Editor-level
  users to save an…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
product: WP Coder
affected:
  - wp_coder >= 4.0 < 4.5.2
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T14:52:43.420'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104677'
references:
  - url: 'https://wpscan.com/vulnerability/2e730bf3-ebf9-4c0d-bb05-8ca94c7cab60/'
    label: contact@wpscan.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-07T09:54:43.857443Z'
ingestedAt: '2026-10-07T08:20:03.940Z'
epss: 0.0037
epssPercentile: 0.28791
---

## Overview

The WP Coder  WordPress plugin before 4.5.2 does not restrict access to its PHP code-execution feature to administrators, gating it on a content capability that the Editor role holds by default, which allows Editor-level users to save and execute arbitrary PHP code on the server and fully compromise the site.

## Remediation

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