Description
Contributor SQL Injection in Custom Field Template <= 2.7.8 versions.
Published: 2026-07-02
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Custom Field Template plugin for WordPress contains a classic SQL Injection flaw (CWE‑89) that allows an attacker to inject arbitrary SQL through user‑supplied data. The vulnerability is caused by the plugin’s handling of contributed custom fields without proper sanitization of the input, enabling the execution of unintended SQL statements against the WordPress database. An attacker who succeeds could read, modify, or delete any data stored in the database, potentially exposing sensitive user information or breaking site functionality. The description explicitly identifies the flaw as a SQL Injection in versions 2.7.8 and earlier; the existence of the flaw implies that input validation or parameterized queries are missing, although the source text does not detail the exact code defect.

Affected Systems

WordPress sites that have installed the Custom Field Template plugin developed by Hiroaki Miyashita, in any release version 2.7.8 or older, are affected. This includes any deployment where the plugin is active in the WordPress installation, regardless of theme or other plugins. Sites running newer releases (2.8 and above) are not impacted by this specific vulnerability.

Risk and Exploitability

The flaw is classified as high severity with a CVSS score of 8.5, indicating significant potential impact if exploited. The EPSS score of <1% shows that, as of the current data, the likelihood of an exploit occurring is low, and the vulnerability is not yet listed in CISA’s KEV catalog. The likely attack vector is the web interface of the WordPress site, specifically through the plugin’s handling of custom field input; an attacker would need to craft malicious input data sent via HTTP requests to trigger the injection. Based on the description and common exploitation patterns for WordPress plugins, the vulnerability does not appear to directly provide remote code execution, but it enables significant data compromise and availability disruption if leveraged successfully.

Generated by OpenCVE AI on July 21, 2026 at 11:36 UTC.

Remediation

Vendor Solution

Update the WordPress Custom Field Template Plugin to the latest available version (at least 2.8).


OpenCVE Recommended Actions

  • Update the Custom Field Template Plugin to version 2.8 or later, which removes the vulnerable code paths.
  • possible, temporarily disable or uninstall the plugin until the patch is applied to prevent the flaw from being exploitable.
  • Review any custom database queries added to the site or by other plugins for proper parameterization user used by WordPress has only the minimal privileges necessary for normal operation.

Generated by OpenCVE AI on July 21, 2026 at 11:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Hiroaki Miyashita
Hiroaki Miyashita custom Field Template
Wordpress
Wordpress wordpress
Vendors & Products Hiroaki Miyashita
Hiroaki Miyashita custom Field Template
Wordpress
Wordpress wordpress

Thu, 02 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Description Contributor SQL Injection in Custom Field Template <= 2.7.8 versions.
Title WordPress Custom Field Template plugin <= 2.7.8 - SQL Injection vulnerability
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L'}


Subscriptions

Hiroaki Miyashita Custom Field Template
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-07-02T19:39:57.078Z

Reserved: 2026-06-25T08:03:50.156Z

Link: CVE-2026-57687

cve-icon Vulnrichment

Updated: 2026-07-02T19:39:52.487Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:45:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')