Medium severity · published Sep 19, 2026
CVE-2026-9855
Custom Field Template <= 2.7.8 - Authenticated (Contributor+) SQL Injection via 'post_ID' Parameter
6.5
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CF
Custom Field Template · hiroaki-miyashita
through 2.7.8 · source: vendor
Affected product
CF
Custom Field Template
hiroaki-miyashita
More from Custom Field Template
8.5
CVE-2026-57687
WordPress Custom Field Template plugin <= 2.7.8 - SQL Injection vulnerability
6.5
CVE-2025-68607
WordPress Custom Field Template plugin <= 2.7.7 - Cross Site Scripting (XSS) vulnerability
5.4
CVE-2024-44062
WordPress Custom Field Template plugin <= 2.6.5 - Cross Site Scripting (XSS) vulnerability
4.3
CVE-2026-12995
Custom Field Template <= 2.7.8 - Authenticated (Contributor+) Insecure Direct Object Reference to Arbitrary Media File Deletion via 'file_field' Parameter
4.3
CVE-2025-63058
WordPress Custom Field Template plugin <= 2.7.6 - Sensitive Data Exposure vulnerability