Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft request mimicking login screen
-
ExploitTrigger snippet safe-mode activation
-
ImpactDisable auto-inserted snippets for attacker's requests
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a WordPress site running WPCode plugin before version 2.4.0 with one or more automatically inserted (auto-insert) snippets configured; the attacker sends a request that is incorrectly recognized as a login-screen request, triggering snippet safe mode. No authentication, user interaction, or special configuration beyond default auto-inserted snippets is required. The key LIMITING factor is scope: the snippet suppression applies only to the attacker's own requests, so it cannot disable snippets for other visitors or alter the site globally - reducing impact to bypassing snippet-enforced behavior (e.g., injected headers, redirects, or access/content controls) within the attacker's own session. |
| Impact | This is a low-severity (CVSS 5.3) WordPress plugin flaw whose real-world priority is modest despite affecting a widely deployed product. The provided CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) confirms unauthenticated, low-complexity network exploitation with no user interaction, but the impact is limited to Confidentiality:Low with no integrity or availability effect, and critically the condition only disables snippets for the ATTACKER'S OWN requests - not for other visitors or the site globally. Publicly available exploit code exists (reported by WPScan), but there is no CISA KEV listing and no EPSS score was provided in the input, so there is no signal of active or widespread exploitation. The signals are therefore consistent rather than conflicting: easy to trigger, but self-scoped and low-impact. The practical concern is that an attacker can bypass security- or access-control-related snippets for their own session (e.g., snippets that inject headers, redirects, or content restrictions), making this a defense-weakening/information-exposure issue rather than a site-takeover vector. No EPSS value was supplied, so exploitation probability cannot be quantified from the input. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a specially crafted HTTP request that the vulnerable WPCode plugin mistakenly treats as a login-screen request, causing it to enter snippet safe mode and skip all automatically inserted snippets for that request. The attacker thereby bypasses any protection, redirect, or content-control logic implemented via WPCode snippets for their own session. Public exploit code for this technique is available via WPScan. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Unauthenticated visitors can suppress all auto-inserted snippets for their own requests on WordPress sites running the WPCode plugin before 2.4.0, because the plugin enters its snippet "safe mode" without correctly verifying that the incoming request is genuinely for the login screen. The effect is confined to the attacker's own requests - snippets still execute for every other visitor and no site-wide change occurs - so per the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, base 5.3) the result is a low-severity bypass of snippet-enforced behavior (headers, redirects, content/access controls) rather than an outage or global configuration change. Publicly available exploit code exists (WPScan advisory), and there is no CISA KEV confirmation of active exploitation, so real-world priority is modest despite WPCode's wide deployment.
RemediationAI
Vendor-released patch: WPCode 2.4.0, which corrects the login-screen detection that gates snippet safe mode - upgrade the plugin to 2.4.0 or later and validate that auto-insert snippets resume executing normally, using the WPScan advisory (https://wpscan.com/vulnerability/e60dade1-a7af-4570-bfd6-669d10991d67/) as the tracking reference. Where an immediate update is not possible, review every auto-insert snippet and move anything security-relevant - access restrictions, redirect logic, header policies such as CSP or X-Frame-Options - into server-level configuration (nginx/Apache) or a dedicated security plugin, so enforcement does not depend on the vulnerable plugin's runtime; the trade-off is migration effort and the risk of configuration drift between the two locations. Temporarily deactivating auto-insert snippets site-wide is a heavier alternative that removes the attack surface for this issue but disables legitimate analytics, header injection and redirects for all visitors, so it should be time-boxed to the patching window. Note that the suppression is per-request and silent, so a compromised request looks normal in logs; detection should focus on anomalies in downstream behavior (missing redirects, missing security headers) rather than on log signatures, and WAF or IP-allowlisting rules around wp-login.php only partially reduce exposure because the trigger is any request the plugin mistakes for a login request.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WPCode is a WordPress snippet-management plugin that lets administrators inject PHP, JavaScript, CSS and HTML into a site; snippets marked "auto-insert" execute on every page load, commonly used for header/footer code, analytics, redirects and occasionally access or content gating. The plugin ships a "safe mode" designed to protect administrators: when a snippet breaks the site, safe mode suppresses snippet execution so the administrator can reach the login screen and repair the problem. In versions before 2.4.0 the routine that decides whether a request targets the login screen is based on insufficient verification, so a crafted unauthenticated request is misclassified as a login-screen request and safe mode is applied to that request, skipping all auto-inserted snippets for that visitor. The root-cause class is an incorrect/insufficient check on a spoofable request characteristic that gates a privileged code path; no CWE identifier is assigned in the available data. The supplied CPE cpe:2.3:a:unknown:wpcode:*:*:*:*:*:*:*:* (vendor field unresolved in the CPE dictionary) covers all WPCode releases prior to the 2.4.0 fix, and the intelligence tags classify the issue as WordPress information disclosure, consistent with the confidentiality-only (C:L) assessed impact.
Know when Wpcode 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:N/S:U/C:L/I:N/A:N
Unauthenticated remote request with no interaction (AV:N/AC:L/PR:N/UI:N); bypassing snippets can expose or circumvent snippet-enforced controls (C:L), but only for the attacker's own request, so I:N/A:N.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
2DescriptionCVE.org
The WPCode WordPress plugin before 2.4.0 does not correctly verify that a request is genuinely for the login screen before entering its snippet safe mode, allowing unauthenticated visitors to disable all of the site's automatically inserted snippets for their own requests.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The WPCode WordPress plugin before 2.0.9 has a flawed CSRF when deleting log, and does not ensure that the file to be de
The WPCode WordPress plugin before 2.0.13.1 does not escape generated URLs before outputting them in attributes, leading
The WPCode WordPress plugin before 2.0.7 does not have adequate privilege checks in place for several AJAX actions, only
EUVD-2026-100974
GHSA-m9m9-jghh-m488
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB