CVE-2026-12995: Custom Field Template (WordPress plugin) · Insecure Direct Object Reference
Affects Custom Field Template (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 6 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 7 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hiroaki-miyashitaCustom Field Template | Affected
| Fixed in– |
AI-suggested
Users should monitor the vendor advisory for updates. As a temporary mitigation, administrators may consider enabling the mediaRemove option on file-type fields in Custom Field Templates if feasible, or restricting contributor-level access until a fix is released.
Description
The Custom Field Template plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.7.8 via the edit_meta_value due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary media attachments site-wide by supplying any numeric attachment ID in the file-field parameter alongside the corresponding delete flag, causing content loss and broken pages. Exploitation requires that the attacker's post is governed by a Custom Field Template containing at least one file-type field with the mediaRemove option not enabled, which is the default configuration for file fields.
References
- wordfence.com/threat-intel/vulnerabilities/id/02f44f5b-c513-4aba-b895-65df681620c6?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset?reponame=&old=3589466%40custom-field-template&new=3589466%40custom-field-template (opens in a new tab)