Skip to main content

Coding Blocks CVE-2025-14158

MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-12-12 security@wordfence.com
4.3
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

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

  1. Access
    Host malicious link or page
  2. Delivery
    Lure authenticated admin to click
  3. Exploit
    Browser submits forged settings request
  4. Execution
    Plugin updates settings without nonce check
  5. Impact
    Theme/plugin configuration altered

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

Exploitation requires that the target WordPress site runs the Coding Blocks plugin at version 1.1.0 or earlier, where the settings update handler (admin/pages/settings.php) performs no nonce validation. The decisive limiting factor is user interaction (UI:R): a currently authenticated site administrator must be socially engineered into clicking an attacker-controlled link or visiting a malicious page while their session is active - the attacker cannot trigger the state change autonomously or against a logged-out admin. There is no authentication requirement on the attacker side (PR:N per the CVSS vector), and the condition applies to default configurations of the vulnerable plugin; impact is confined to altering plugin settings and theme configuration.

Impact

This is a genuinely low-priority issue despite being network-exploitable. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, base 4.3) describes a classic CSRF: no attacker privileges are needed (PR:N) but successful exploitation hinges on tricking an authenticated administrator into clicking a malicious link (UI:R), and impact is limited to integrity only (I:L) with no confidentiality or availability loss. All exploitation signals point low: EPSS is 0.16% (4th percentile), the CVE is not listed in CISA KEV, and no public exploit code is identified in the provided intelligence. There is no SSVC decision data supplied. The signals are internally consistent - a low-impact, interaction-gated CSRF with low real-world exploitation probability - so there is no high-CVSS-but-hidden-risk tension here; rather, the modest CVSS already reflects the limited impact. The primary open question is deployment footprint of the specific plugin, which drives aggregate exposure more than the technical severity does.

Exploit ScenarioDerived

An attacker crafts a web page or email containing a hidden auto-submitting form or link that targets the Coding Blocks settings update endpoint. When a logged-in site administrator is lured into visiting the page, their browser silently submits the forged request, changing plugin settings including the theme configuration without the admin's intent. No public exploit code is identified at time of analysis, and the attack cannot succeed without the administrator's active interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Cross-site request forgery in the Coding Blocks plugin for WordPress (versions up to and including 1.1.0) lets an unauthenticated remote attacker change plugin settings, including the theme configuration, by inducing a logged-in site administrator to load an attacker-crafted page or link. The settings update handler in admin/pages/settings.php performs no nonce validation, and the CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, 4.3) confirms the attacker needs no credentials but the attack cannot succeed without an authenticated admin's interaction, so impact is limited to low-integrity configuration changes rather than takeover. No public exploit code was identified at time of analysis, EPSS is only 0.16% (4th percentile), and there is no CISA KEV listing, making this a low-priority hardening item rather than an urgent threat.

RemediationAI

No vendor-released patch was identified at time of analysis - no fixed version number appears in the available references, and the trunk source at the referenced revision still shows the affected code - so the most reliable immediate action is to deactivate and, if the plugin is not essential, uninstall Coding Blocks until an updated release appears; the trade-off is loss of the plugin's functionality, which must be weighed against a low-severity, admin-interaction-dependent flaw. If the plugin must remain active, apply compensating controls that specifically break cross-site request forgery: ensure WordPress authentication cookies are sent with SameSite=Lax or Strict semantics (either via the host web server's Set-Cookie rewriting or a plugin/configuration that enforces it), which prevents the admin's session cookie from riding along on a cross-origin forged POST at the cost of potentially affecting legitimate cross-site login flows; restrict access to wp-admin and admin-ajax.php by source IP or VPN where operationally feasible, accepting reduced admin flexibility; and deploy a WAF rule that rejects POSTs to the plugin's settings endpoint lacking a valid _wpnonce parameter, understanding that such rules must be tuned to avoid blocking legitimate admin saves. Administrators should also be reminded to avoid clicking unsolicited links while logged in, and defenders should monitor the WordPress.org plugin developers page (https://wordpress.org/plugins/coding-blocks/#developers) for a patched release and deploy it as soon as an exact fixed version is published, since a code-level fix requires adding nonce generation to the settings form and check_admin_referer() validation to the update handler.

Affected ProductsAI

The Coding Blocks plugin for WordPress is affected in all versions up to and including 1.1.0; the vulnerable code lives in admin/pages/settings.php at the tagged 1.1.0 release and identically in trunk as of the referenced revision. No CPE strings were supplied with this record, so scoping should be done by plugin slug and version rather than by CPE matching. Any WordPress installation with the Coding Blocks plugin active at version 1.1.0 or below - including those that have not updated the plugin since installation - is in scope, and the default plugin configuration is vulnerable, meaning no non-default setting is required for exploitation. Confirm exposure by inventorying installed plugins for the coding-blocks slug at <= 1.1.0; vendor-side information is available on the WordPress.org plugin developers page (https://wordpress.org/plugins/coding-blocks/#developers) and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/5a4833de-d530-4bbf-ac28-e5d4b5f68f1e?source=cve), while the affected source is visible at https://plugins.trac.wordpress.org/browser/coding-blocks/tags/1.1.0/admin/pages/settings.php#L11 and https://plugins.trac.wordpress.org/browser/coding-blocks/trunk/admin/pages/settings.php#L11.

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

Coding Blocks is a WordPress plugin that exposes an administrative settings page implemented in admin/pages/settings.php; both the tagged 1.1.0 release and the current trunk revision are referenced, and line 11 is the locus of the missing protection. The vulnerability class is CWE-352 (Cross-Site Request Forgery): WordPress's standard defense for state-changing admin form submissions is a per-request nonce - generated with wp_nonce_field()/wp_create_nonce() and validated with check_admin_referer() or wp_verify_nonce() - which binds the request to the admin's session. Because the settings update routine omits that check, WordPress's cookie-based session authentication is the only thing gating the POST, and a browser will automatically attach the admin's authentication cookies to a cross-origin request. The weakness is therefore not in a library or protocol but in a code-flow omission: any settings form field processed by this handler (notably the theme configuration) can be overwritten by a forged request. Exploitation depends on the WordPress admin being authenticated in the same browser at the moment of interaction, and the CVSS vector's S:U scope means no privilege boundary is crossed beyond the plugin's own settings.

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 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

Unauthenticated CSRF (PR:N) delivered over the network (AV:N) but gated on tricking a logged-in admin (UI:R); impact is limited settings tampering, so I:L with C:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/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
None
Integrity
Low
Availability
None

DescriptionCVE.org

The Coding Blocks plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.0. This is due to missing nonce validation on the settings update functionality. This makes it possible for unauthenticated attackers to update plugin settings including the theme configuration via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Low
niche WordPress plugin, limited install base, not a core component
Data Quality
3 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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.

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