Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-9855— Custom Field Template <= 2.7.8 - Authenticated (Contributor+) SQL Injection via 'post_ID' Parameter

Quick assessment

Affected
hiroaki-miyashita Custom Field Template
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

WordPress 的“Custom Field Template”插件在所有版本(包括 2.7.8 及以下版本)中均存在通用型 SQL 注入漏洞。该漏洞源于用户提供的 参数未进行充分转义,且现有 SQL 查询缺乏充分的预处理(prepared statement)。 这使得拥有“贡献者”(Contributor)或更高权限的已认证攻击者能够向现有查询中追加额外的 SQL 语句,从而从数据库中获取敏感信息。 权限检查 可被绕过:WordPress 在权限评估时会在内部将 强制转换为整数类型,但传入 SQL 执行点(

CVSS 6.5 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-9855

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Custom Field Template <= 2.7.8 - Authenticated (Contributor+) SQL Injection via 'post_ID' Parameter
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
hiroaki-miyashita Custom Field Template 0 ~ 2.7.8 -

II. Public POCs for CVE-2026-9855

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-9855

登录查看更多情报信息。

Patches & Fixes for CVE-2026-9855 (1)

Other References for CVE-2026-9855 (1)

Other References for CVE-2026-9855 (8)

IV. Related Vulnerabilities

V. Comments for CVE-2026-9855

No comments yet


Leave a comment