Skip to main content

Theme Editor (WordPress) CVE-2025-9890

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-10-18 security@wordfence.com
8.8
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft forged theme-editor request
  2. Delivery
    Lure admin to malicious link/page
  3. Exploit
    Browser submits request in admin session
  4. Execution
    Bypass missing nonce check
  5. Persist
    Write malicious PHP to theme file
  6. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the site to run the Theme Editor plugin version 3.0 or earlier, and the attacker must trick an authenticated WordPress administrator (a user with theme-file-edit capability) into clicking a link or loading an attacker-controlled page while logged in. Exploitation is limited by this mandatory administrator interaction (UI:R) and by the victim holding an active authenticated admin session; it cannot be triggered silently against the server. The vulnerability itself needs no attacker credentials (the forged request rides the admin's session) and works against default plugin configurations.

Impact

This is a genuine priority despite the gating factors. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 8.8) reflects that a WordPress Theme Editor plugin lets an administrator write PHP into theme files, so a successful CSRF against that function yields full remote code execution - the C:H/I:H/A:H triad is well-justified because arbitrary PHP execution compromises the entire site. The key mitigating signal is UI:R: the request must be delivered to and clicked by a logged-in site administrator, so this is not a fire-and-forget mass-exploitable bug like a PR:N/UI:N flaw. PR:N is technically correct (the attacker holds no credentials) but is misleading in isolation - exploitation depends entirely on social-engineering a privileged victim. No EPSS score, KEV listing, or public POC was provided in the input, so there is no evidence of active exploitation; risk is currently theoretical-but-serious rather than observed. Overall: real risk (RCE outcome, popular plugin, unauthenticated trigger) tempered by the admin-interaction requirement, which limits it to targeted phishing/watering-hole scenarios rather than opportunistic mass exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious web page containing an auto-submitting form (or a link) that forges a request to the plugin's 'theme_editor_theme' page, which lacks proper nonce validation. The attacker lures a logged-in WordPress administrator to visit the page; the browser submits the forged request in the admin's authenticated session, writing attacker-controlled PHP into a theme file and achieving remote code execution. No public exploit code was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 26, 2026

Cross-site request forgery in the WordPress Theme Editor plugin through version 3.0 allows an attacker with no credentials to turn a tricked administrator's session into remote code execution: the plugin's 'theme_editor_theme' page lacks correct nonce validation, so a forged request issued while an admin is logged in can write or alter theme PHP files and thereby execute code on the server. Exploitation requires the victim to hold an active authenticated WordPress administrator session with theme-file-edit capability and to be induced into clicking a link or loading an attacker-controlled page (UI:R); it cannot be triggered silently against the server. No public exploit code has been identified at time of analysis and the issue is not confirmed as actively exploited, though the mandatory admin interaction is the only meaningful barrier to a full compromise.

RemediationAI

Apply the upstream fix: the plugin's Trac changeset 3379404 (https://plugins.trac.wordpress.org/changeset?old=3379404%40theme-editor&new=3379404%40theme-editor) contains the nonce-validation repair, but no tagged patched release version is independently confirmed in the supplied data, so administrators should check the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/77189684-b794-41a0-8fc0-3320032c2f69?source=cve) and the WordPress plugin directory for the first release above 3.0 and update to it or later; until that version is confirmed, this constitutes an upstream fix available via commit rather than a confirmed released patch. If the plugin is not essential, deactivating and deleting it removes the vulnerable endpoint entirely, at the cost of losing its theme-editing functionality. Where it must stay installed, reduce exposure by ensuring the vulnerable page is only reachable by trusted users, tightening administrator account hygiene (unique strong passwords, 2FA, no shared admin accounts, prompt logout of idle sessions), and restricting wp-admin access by IP or HTTP authentication - noting these are partial mitigations since the attack merely requires an already-authenticated admin to load a page. Defining DISALLOW_FILE_EDIT in wp-config.php to remove WordPress's built-in file editors is a useful hardening step, but it does not reliably disable third-party editors such as this plugin, so it should not be treated as a fix. A WAF rule that requires a valid nonce or rejects cross-origin POSTs to the 'theme_editor_theme' action can blunt opportunistic exploitation, though such rules require tuning and can break legitimate admin activity. Monitor web server and WordPress logs for unexpected POSTs to the theme editor handler and for recently modified files under wp-content/themes.

Affected ProductsAI

The Theme Editor plugin for WordPress, all versions up to and including 3.0, is affected on any site where it is installed and active; default plugin configuration is sufficient for exploitation, and no specific CPE string was supplied in the intelligence data. Per the advisory, defaults offer no protection because the endpoint itself is the weakness. The vulnerable code path is published in the plugin's Trac browser at https://plugins.trac.wordpress.org/browser/theme-editor/trunk/app/controller/theme_controller.php#L87, and the corresponding fix/commit appears in the Trac changeset at https://plugins.trac.wordpress.org/changeset?old=3379404%40theme-editor&new=3379404%40theme-editor. Vendor threat details are available from Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/77189684-b794-41a0-8fc0-3320032c2f69?source=cve, which should be consulted for the definitive version of record and any subsequently published patched release number.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic Cross-Site Request Forgery (CWE-352) in the WordPress Theme Editor plugin's theme file editor. According to the plugin source referenced in the advisory (app/controller/theme_controller.php around line 87), the handler backing the 'theme_editor_theme' page performs missing or incorrect nonce validation, meaning the plugin accepts state-changing requests - in this case edits to theme PHP files - without verifying that the request originated from a legitimate, user-initiated action in the WordPress admin. Because the request rides the administrator's existing session cookies, the plugin's own authorization checks are satisfied by the victim's browser; the attacker never needs an account. The consequence of arbitrary theme file writes in WordPress is code execution: theme templates are PHP, so injected or modified content is evaluated by the interpreter on subsequent page loads. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H reflects network reachability, low attack complexity, no attacker privileges (PR:N), and a required victim interaction (UI:R), with high confidentiality, integrity, and availability impact confined to the vulnerable component. A fix commit is visible in the plugin's Trac changeset (3379404), consistent with nonce handling having been repaired upstream.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

CSRF is delivered over the network with no attacker credentials (PR:N) but requires an admin to click (UI:R); resulting PHP write yields full code execution, so C/I/A all High.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Theme Editor plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.0. This is due to missing or incorrect nonce validation on the 'theme_editor_theme' page. This makes it possible for unauthenticated attackers to achieve remote code execution via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Executive ViewAI

Why It Matters

The WordPress Theme Editor plugin (through version 3.0) contains a cross-site request forgery flaw that can let an attacker leverage a logged-in administrator's session to alter theme PHP files and achieve remote code execution. No public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, so affected WordPress site owners remain exposed until mitigating actions are taken. Leadership should care because a successful exploit can lead to full website or server compromise, with potential data theft, defacement, malware hosting, or service disruption.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include deactivating or removing the Theme Editor plugin through version 3.0, setting DISALLOW_FILE_EDIT, restricting administrator sessions and capabilities, enforcing MFA, applying WAF or virtual patching for CSRF to the theme_editor_theme page, and monitoring theme files and logs for unauthorized changes.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
widely-installed WordPress theme-editing plugin, tens of thousands of active sites
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy