Skip to main content

Custom Field Template CVE-2026-57687

| EUVDEUVD-2026-41296 HIGH
SQL Injection (CWE-89)
2026-07-02 Patchstack GHSA-3jm7-hr4j-gx2m
8.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor account on target site
  2. Delivery
    Access plugin custom-field input
  3. Exploit
    Submit crafted SQL injection payload
  4. Execution
    Injected query executes against WordPress DB
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Custom Field Template n/a ≤2.7.8

Affected Packages

euvd custom_field_template no fix

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

Vendor (Patchstack) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
vuln.today AI 8.5 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

DescriptionCVE.org

Contributor SQL Injection in Custom Field Template <= 2.7.8 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
moderately popular WordPress custom-field plugin, common but not universal
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-22695 HIGH
8.8 Jul 10

Cross-Site Request Forgery (CSRF) vulnerability in Hiroaki Miyashita Custom Field Template plugin <= 2.5.8 versions. Rat

CVE-2026-9855 MEDIUM
6.5 Sep 19

Authenticated SQL injection in the Custom Field Template plugin for WordPress, affecting all versions up to and includin

CVE-2024-0627 MEDIUM
6.4 Jun 11

The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's custom fiel

CVE-2023-6745 MEDIUM
6.4 Jun 11

The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cpt' short

CVE-2023-38392 MEDIUM
6.1 Aug 07

Unauth. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low at

CVE-2024-44062 MEDIUM
5.4 Sep 15

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Hiroaki Miy

CVE-2024-0653 MEDIUM
4.4 Jun 11

The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all ve

CVE-2023-6748 MEDIUM
4.3 Jun 11

The Custom Field Template plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, an

CVE-2026-12995 MEDIUM
4.3 Sep 22

Authenticated users with contributor-level access or above can permanently delete arbitrary media attachments site-wide

CVE-2020-36742 MEDIUM
4.3 Jul 01

The Custom Field Template plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and includ

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy