Skip to main content

WPCode CVE-2026-101301

| EUVDEUVD-2026-100974 MEDIUM
Improper Access Control (CWE-284)
2026-10-14 WPScan GHSA-m9m9-jghh-m488
5.3
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

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

  1. Access
    Craft request mimicking login screen
  2. Exploit
    Trigger snippet safe-mode activation
  3. Impact
    Disable 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

WPCode 2.0.0 <2.4.0

Affected Packages

euvd wpcode fix: 2.4.0

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

Vendor (WPScan) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

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

Lifecycle Timeline

2
Patch available
Oct 14, 2026 - 12:02 EUVD
CVE Published
Oct 14, 2026 - 10:27 cve.org
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
High
WPCode is a very popular WordPress code-snippet plugin with millions of installs
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 Yes
EPSS 0.3%
Patch available Yes
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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