Custom Field Template <= 2.7.8 — Authenticated (Contributor+) SQL Injection via 'post_ID' Parameter
CVE-2026-9855Published · Updated Action summary
Affected: ≤2.7.8Update to 2.8 or newer
All remediation steps- Severity
- Medium6.5
- CVSS
- 6.5CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:NIntegrity- None
A:NAvailability- None
- Weakness
- CWE-89 SQL Injection
- Required access
- Unknown
- Exploit prediction (EPSS)
- 0.6% chance in 30 days48th percentile
- CISA KEV
- Not listed
On this page8
Am I affected?
Custom Field Template custom-field-template
- Affected≤ 2.7.8
- Patched in2.8
Update to 2.8 or newer.
You are affected if you run ≤ 2.7.8. Version 2.8 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Custom Field Template.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 2.8, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch Custom Field Template to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Huynh Pham Thanh Luc.
The Custom Field Template plugin for WordPress is vulnerable to generic SQL Injection via the 'post_ID' parameter in all versions up to, and including, 2.7.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The capability check via current_user_can('edit_post', $id) is bypassable because WordPress internally casts $id to an integer for the permission evaluation while the full unsanitized string is preserved and passed to the SQL sink, and a valid nonce — which is also required — can be legitimately obtained by any Contributor-level user from the post edit screen.
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 Custom Field Template
All 15| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.3 | Authenticated (Contributor+) Insecure Direct Object Reference to Arbitrary Media File Deletion via 'file_field' Parameter ≤2.7.8Update to 2.8 | CVE-2026-12995 | |
| Medium6.5 | Authenticated (Contributor+) SQL Injection ≤2.7.8Update to 2.8 | CVE-2026-57687 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤2.7.7Update to 2.7.8 | CVE-2025-68607 | |
| Medium4.3 | Authenticated (Subscriber+) Information Exposure ≤2.7.6Update to 2.7.7 | CVE-2025-63058 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤2.6.5Update to 2.6.6 | CVE-2024-44062 |
- Medium4.3Authenticated (Contributor+) Insecure Direct Object Reference to Arbitrary Media File Deletion via 'file_field' Parameter
≤2.7.8Update to 2.8
- Medium6.5Authenticated (Contributor+) SQL Injection
≤2.7.8Update to 2.8
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤2.7.7Update to 2.7.8
- Medium4.3Authenticated (Subscriber+) Information Exposure
≤2.7.6Update to 2.7.7
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤2.6.5Update to 2.6.6
Same weakness (SQL Injection)
All SQL Injection| 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 medium, CVSS 6.5
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.
