Theme Editor (WordPress) CVE-2025-9890
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft forged theme-editor request
-
DeliveryLure admin to malicious link/page
-
ExploitBrowser submits request in admin session
-
ExecutionBypass missing nonce check
-
PersistWrite malicious PHP to theme file
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB