Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 4.3 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N indicates a low-to-moderate severity vulnerability that requires network access and user interaction but has low attack complexity. The 'UI:R' component is critical: it requires tricking an administrator into clicking a link, which significantly reduces real-world exploitation probability despite the otherwise favorable attack conditions. The integrity impact is limited (I:L) because only custom field definitions are deleted, not core WordPress data or site backups. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog based on available intelligence, suggesting no active in-the-wild exploitation at scale. However, the straightforward nature of the attack (a simple GET request with a delete parameter), combined with the ubiquity of WordPress and likelihood of administrator social engineering, means this should not be dismissed. The automatable nature of the attack vector and lack of compensating controls on most WordPress installations elevate real-world priority despite the modest CVSS score. This is a medium-priority vulnerability for WordPress site administrators running versions 2.0.3 or earlier of this plugin. |
| Exploit ScenarioDerived | An attacker crafts a malicious HTML page or email containing an embedded image tag or iframe that points to a WordPress site running the vulnerable plugin with a specially crafted URL like 'https://target-site.com/wp-admin/admin.php?page=add-custom-fields-to-media&delete=field_name'. When a site administrator visits the attacker's page while logged into WordPress, the browser automatically sends the request with the administrator's session cookies, causing the plugin to delete the specified custom media field without any nonce verification or administrator confirmation. The attacker does not need any special credentials or access; the vulnerability is fully automatable once the administrator is tricked into visiting the malicious link. No proof-of-concept code is required beyond a simple HTML link or form submission. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
The Add Custom Fields to Media WordPress plugin versions up to 2.0.3 contains a Cross-Site Request Forgery (CSRF) vulnerability in the field deletion functionality that allows unauthenticated attackers to delete arbitrary custom media fields. The vulnerability exists because the plugin validates nonces for the 'add field' operation but fails to validate nonces on the 'delete field' operation, which processes the $_GET['delete'] parameter directly. An attacker can exploit this by tricking a site administrator into clicking a malicious link, resulting in unauthorized deletion of custom media field configurations with no authentication required beyond social engineering.
RemediationAI
Site administrators must immediately upgrade the Add Custom Fields to Media plugin to a version newer than 2.0.3, which includes nonce validation for the delete field operation (verify availability through the WordPress plugin repository or vendor website). Until patching is available or feasible, implement WordPress security headers and Content Security Policy (CSP) to mitigate CSRF attacks, restrict admin dashboard access to known IP ranges via web application firewall rules, and educate site administrators about not clicking links in untrusted emails or messages that reference the WordPress dashboard. Consider disabling the plugin entirely if custom media fields are not actively used. Site administrators should check the WordPress plugin repository at https://plugins.trac.wordpress.org/browser/add-custom-fields-to-media/ for patch availability and follow the changeset updates referenced in security advisories.
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
The vulnerability is rooted in CWE-352 (Cross-Site Request Forgery), a class of attack that exploits the trust a web application places in authenticated user sessions. The Add Custom Fields to Media plugin (cpe:2.3:a:pattihis:add_custom_fields_to_media:*:*:*:*:*:*:*:*) is a WordPress plugin that extends WordPress media functionality by allowing administrators to define custom fields for media attachments. The plugin's admin display template (add-custom-fields-to-media-admin-display.php) contains inconsistent nonce validation: lines 24-36 properly implement nonce checking for field additions using wp_verify_nonce(), but lines 38-49 handle field deletion without any nonce validation, directly reading and processing the $_GET['delete'] parameter before calling WordPress's update_option() function. This inconsistency creates a CSRF window where an attacker-controlled request can modify WordPress options without the administrator's knowledge or consent.
Know when Add Custom Fields To Media 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:N/UI:R/S:U/C:N/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Add Custom Fields to Media plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.3. This is due to missing nonce validation on the field deletion functionality in the admin display template. The plugin properly validates a nonce for the 'add field' operation (line 24-36), but the 'delete field' operation (lines 38-49) processes the $_GET['delete'] parameter and calls update_option() without any nonce verification. This makes it possible for unauthenticated attackers to delete arbitrary custom media fields via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.
Executive ViewAI
Organizations using for WordPress is vulnerable to Cross-Site Request Forgery in all should be aware of moderate risk from CVE-2026-4068, a cross-site request forgery vulnerability rated CVSS 4.3. Users could be tricked into performing unintended actions. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement SameSite cookie attributes and anti-CSRF tokens.
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
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-13070
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB