Radar sectionsDatabase
Check my site
WordPress plugin

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager < 2.4.0 — Unauthenticated Snippet Safe Mode Bypass

CVE-2026-101301Published · Updated

Action summary

Affected: <2.4.0Update to 2.4.0 or newer

All remediation steps
Severity
High7.3
CVSS
7.3
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:N User interaction
None
S:U Scope
Unchanged
C:L Confidentiality
Low
I:L Integrity
Low
A:L Availability
Low
Weakness
CWE-862 Missing Authorization
Required access
No account needed
Exploit prediction (EPSS)
0.2% chance in 30 days16th percentile
CISA KEV
Not listed

Am I affected?

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager insert-headers-and-footers

  1. Affected< 2.4.0
  2. Patched in2.4.0

Update to 2.4.0 or newer.

You are affected if you run < 2.4.0. Version 2.4.0 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager.
  • No admin access? Run a passive check of your site. It reads public files only.
  • No account is needed to exploit this. Treat any exposed site on an affected version as at risk.

What to do

  1. Update to version 2.4.0, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Kenny of Greenhat Security.

The WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager plugin for WordPress is vulnerable to Bypass Vulnerability in all versions up to 2.4.0. This is due to insufficient verification of the login page check in wpcode_is_wplogin(), allowing any unauthenticated request with the safe mode parameter to bypass snippet execution. This makes it possible for unauthenticated attackers to disable all automatically inserted snippets for their own requests by triggering safe mode without authentication.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager

All 5
More vulnerabilities in WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
SeverityVulnerabilityCVEPublished
High8.8Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost
≤2.3.5Update to 2.3.6
CVE-2026-8832
Medium6.1Unauthenticated Reflected Cross-Site Scripting via Tag Filter Links
≤2.0.13Update to 2.0.13.1
CVE-2023-3524
Medium4.7Cross-Site Request Forgery
≤2.0.8Update to 2.0.9
CVE-2023-1624
Medium5.4Missing Authorization to Sensitive Key Disclosure/Update
≤2.0.6Update to 2.0.7
CVE-2023-0328

Same weakness (Missing Authorization)

All Missing Authorization
Other Missing Authorization vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688
Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form SubmissionCVE-2026-125055
Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' ParameterCVE-2026-119077
Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce≤5.127.0Update to 5.128.0
CVE-2026-121518

Timeline

  1. CVE published

    Severity high, CVSS 7.3

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
EPSS
Exploit Prediction Scoring System by FIRST.org.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?