Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor account on target site
-
DeliveryAccess plugin custom-field input
-
ExploitSubmit crafted SQL injection payload
-
ExecutionInjected query executes against WordPress DB
-
ImpactExfiltrate credentials and sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account at the Contributor role (CVSS PR:L) on a WordPress site running Custom Field Template plugin version 2.7.8 or earlier; the attacker sends the malicious input remotely (AV:N) over the network with no user interaction (UI:N) and low complexity (AC:L). The key limiting factor is that the attacker must already possess Contributor-level (or higher contributor-capable) access - this is not exploitable by fully unauthenticated visitors - so sites that do not grant Contributor accounts to untrusted parties and that disable open registration are substantially harder to exploit. The specific plugin field/parameter carrying the injection is not detailed in the available data and should be confirmed against the Patchstack advisory. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L, base 8.5) describes network-reachable, low-complexity exploitation requiring only Contributor-level authentication (PR:L) and no user interaction, with High confidentiality impact, no integrity impact, and Low availability impact. The main mitigating factor is the authentication requirement: an attacker must already hold a Contributor account, so realistic risk is highest on multi-author sites that grant Contributor access to semi-trusted users or that allow open/self-service registration into contributor-capable roles. No EPSS score, KEV entry, or POC was supplied in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation - the priority is driven by the high CVSS and the low bar of Contributor access rather than by confirmed in-the-wild activity. Note a minor internal tension: the vector reports I:N (no integrity impact) even though SQL injection can often write data; treat the confidentiality (data disclosure) impact as the confirmed primary risk and verify write capability with the vendor advisory. |
| Exploit ScenarioDerived | An attacker registers or obtains a Contributor account on a multi-author WordPress site running Custom Field Template <= 2.7.8, then submits a crafted value through a plugin-exposed field/parameter that is concatenated into a database query. The injected SQL runs against the WordPress database, letting the attacker exfiltrate sensitive data such as user password hashes, session/auth secrets, or private post content. No public exploit is identified at time of analysis, and the low attack complexity means a working payload would require only standard SQLi tradecraft. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
SQL injection in the Custom Field Template WordPress plugin (versions <= 2.7.8) allows a low-privileged authenticated user at the Contributor role to inject arbitrary SQL into backend database queries. Because the CVSS scope is changed and confidentiality impact is High, a Contributor can read data beyond their own authorization boundary, including other users' credentials and site secrets. This is a Patchstack-reported issue with no public exploit identified at time of analysis and no KEV listing.
RemediationAI
No vendor-released patch version is identified in the available data, so consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/custom-field-template/vulnerability/wordpress-custom-field-template-plugin-2-7-8-sql-injection-vulnerability) for the fixed release and upgrade to any version above 2.7.8 once published. Because exploitation requires a Contributor account, the most effective compensating control until patching is to restrict who holds Contributor (or higher, contributor-capable) roles: audit and remove untrusted contributor accounts and disable open user registration or lower the default new-user role to Subscriber, accepting the trade-off that legitimate self-service contributors will need manual approval. As a defense-in-depth measure, place a WAF/virtual patch in front of the site to block SQL-injection patterns targeting the plugin's parameters (Patchstack provides such virtual patching), noting this can produce false positives on legitimate custom-field content; if the plugin is not essential, deactivate and remove it entirely to eliminate exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Custom Field Template is a WordPress plugin authored by Hiroaki Miyashita (CPE cpe:2.3:a:hiroaki_miyashita:custom_field_template) that adds configurable custom field forms to the post/page editor. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controllable input reaching the plugin - plausibly through its custom field or template-handling parameters exposed to Contributor-capable users - is concatenated into a database query without adequate parameterization or escaping through WordPress's $wpdb->prepare()/sanitization layer. The changed scope (S:C) indicates the injection reaches the shared WordPress/MySQL database, letting a low-privileged plugin user affect the security-authority boundary of the whole site database rather than just plugin-local data.
Know when Custom Field Template gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
Network-reachable SQLi requiring only Contributor auth (PR:L), no interaction; injection into the shared DB changes scope (S:C) with high data disclosure (C:H), no integrity, low availability impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor SQL Injection in Custom Field Template <= 2.7.8 versions.
Executive ViewAI
A SQL injection vulnerability in the Custom Field Template WordPress plugin (versions ≤2.7.8) allows users with minimal site access to extract sensitive data including credentials and configuration secrets from the database. No public exploit identified at time of analysis. Organizations using this plugin are exposed to credential theft and potential site compromise without vendor remediation currently available.
Immediate: Disable or remove Custom Field Template plugin versions ≤2.7.8. Restrict Contributor role access via database-level permissions. Implement database query monitoring and alerts for suspicious SQL patterns. Enforce multi-factor authentication across all user accounts. Conduct forensic review of database logs for unauthorized data access attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Custom Field Template
View allCross-Site Request Forgery (CSRF) vulnerability in Hiroaki Miyashita Custom Field Template plugin <= 2.5.8 versions. Rat
Authenticated SQL injection in the Custom Field Template plugin for WordPress, affecting all versions up to and includin
The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's custom fiel
The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cpt' short
Unauth. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low at
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Hiroaki Miy
The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all ve
The Custom Field Template plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, an
Authenticated users with contributor-level access or above can permanently delete arbitrary media attachments site-wide
The Custom Field Template plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and includ
EUVD-2026-41296
GHSA-3jm7-hr4j-gx2m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB