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.3CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:LConfidentiality- Low
I:LIntegrity- Low
A:LAvailability- 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
On this page8
Am I affected?
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager insert-headers-and-footers
- Affected< 2.4.0
- 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
- Update to version 2.4.0, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- 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
- Advisorywordfence.com
Related CVEs
More in WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
All 5| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High8.8 | Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost ≤2.3.5Update to 2.3.6 | CVE-2026-8832 | |
| Medium6.1 | Unauthenticated Reflected Cross-Site Scripting via Tag Filter Links ≤2.0.13Update to 2.0.13.1 | CVE-2023-3524 | |
| Medium4.7 | Cross-Site Request Forgery ≤2.0.8Update to 2.0.9 | CVE-2023-1624 | |
| Medium5.4 | Missing Authorization to Sensitive Key Disclosure/Update ≤2.0.6Update to 2.0.7 | CVE-2023-0328 |
- High8.8Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost
≤2.3.5Update to 2.3.6
- Medium6.1Unauthenticated Reflected Cross-Site Scripting via Tag Filter Links
≤2.0.13Update to 2.0.13.1
- Medium4.7Cross-Site Request Forgery
≤2.0.8Update to 2.0.9
- Medium5.4Missing Authorization to Sensitive Key Disclosure/Update
≤2.0.6Update to 2.0.7
Same weakness (Missing Authorization)
All Missing Authorization| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity high, CVSS 7.3
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.
