CVE-2026-9855: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in hiroaki-miyashita Custom Field Template
The Custom Field Template WordPress plugin up to version 2.7.8 is vulnerable to SQL Injection via the 'post_ID' parameter. Authenticated users with contributor-level access or higher can exploit this vulnerability to append additional SQL queries, potentially extracting sensitive database information. The vulnerability arises from insufficient escaping of user input and a bypassable capability check due to type casting inconsistencies in WordPress permission evaluation. No patch information is provided.
AI Analysis
Technical Summary
CVE-2026-9855 describes an SQL Injection vulnerability in the Custom Field Template plugin for WordPress, affecting all versions up to and including 2.7.8. The flaw exists because the 'post_ID' parameter is not properly escaped before being used in SQL queries, allowing authenticated users with contributor-level permissions or higher to inject additional SQL commands. The permission check using current_user_can('edit_post', $id) is bypassed because WordPress casts the $id parameter to an integer for permission checks but passes the unsanitized string to the SQL query. A valid nonce is also required but can be obtained legitimately by contributor-level users from the post edit screen.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to perform SQL Injection attacks, potentially extracting sensitive information from the database. The vulnerability does not affect confidentiality, integrity, or availability beyond data disclosure as per the CVSS vector (Confidentiality: High, Integrity: None, Availability: None).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access where possible and monitor for suspicious activity related to the Custom Field Template plugin. Applying principle of least privilege and disabling or removing the plugin if not needed may reduce risk.
CVE-2026-9855: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in hiroaki-miyashita Custom Field Template
Description
The Custom Field Template WordPress plugin up to version 2.7.8 is vulnerable to SQL Injection via the 'post_ID' parameter. Authenticated users with contributor-level access or higher can exploit this vulnerability to append additional SQL queries, potentially extracting sensitive database information. The vulnerability arises from insufficient escaping of user input and a bypassable capability check due to type casting inconsistencies in WordPress permission evaluation. No patch information is provided.
CVSS v3.1
Score 6.5medium
Affected software
hiroaki-miyashita
Custom Field Template
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9855 describes an SQL Injection vulnerability in the Custom Field Template plugin for WordPress, affecting all versions up to and including 2.7.8. The flaw exists because the 'post_ID' parameter is not properly escaped before being used in SQL queries, allowing authenticated users with contributor-level permissions or higher to inject additional SQL commands. The permission check using current_user_can('edit_post', $id) is bypassed because WordPress casts the $id parameter to an integer for permission checks but passes the unsanitized string to the SQL query. A valid nonce is also required but can be obtained legitimately by contributor-level users from the post edit screen.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to perform SQL Injection attacks, potentially extracting sensitive information from the database. The vulnerability does not affect confidentiality, integrity, or availability beyond data disclosure as per the CVSS vector (Confidentiality: High, Integrity: None, Availability: None).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access where possible and monitor for suspicious activity related to the Custom Field Template plugin. Applying principle of least privilege and disabling or removing the plugin if not needed may reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-28T15:31:05.357Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aae3e0455bf5e2cf54897df
Added to database: 09/19/2026, 07:47:16 UTC
Last enriched: 09/19/2026, 08:01:41 UTC
Last updated: 09/19/2026, 08:04:13 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.