Skip to main content

CVE-2026-9855: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in hiroaki-miyashita Custom Field Template

0
Medium
VulnerabilityCVE-2026-9855cvecve-2026-9855cwe-89
Published: 09/19/2026 (09/19/2026, 07:43:20 UTC)
Source: CVE Database V5
Vendor/Project: hiroaki-miyashita
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

hiroaki-miyashita

Custom Field Template

Affected versions
>=0 <=2.7.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/19/2026, 08:01:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses